module RBS::MethodNameHelper

Public Instance Methods

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

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