module RBS::MethodNameHelper - rbs: Ruby Standard Library Documentation

# module RBS::MethodNameHelper

### Public Instance Methods

method_name_string() click to toggle source

    # File rbs-3.8.0/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