123456789_123456789_123456789_123456789_123456789_

Module: RBS::MethodNameHelper

Relationships & Source Files
Defined in: lib/rbs/errors.rb

Instance Method Summary

Instance Method Details

#method_name_string

[ GitHub ]

  
# File '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