模块 RBS::MethodNameHelper

公共实例方法

method_name_string() 点击切换源代码
# 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