In Files

  • rbs-1.0.4/lib/rbs/errors.rb

Class/Module Index [+]

Quicksearch

RBS::MethodNameHelper

Public Instance Methods

method_name_string() click to toggle source
 
               # File rbs-1.0.4/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