module RBS::MethodNameHelper

Public Instance Methods

method_name_string() click to toggle source
# File rbs-3.2.1/lib/rbs/errors.rb, line 5
def method_name_string()
  separator = case kind
              when :instance
                "#"
              when :singleton
                "."
              else
                raise
              end

  "#{type_name}#{separator}#{method_name}"
end