StandardError
# File rbs-1.0.4/lib/rbs/errors.rb, line 217 def initialize(type,, method_name,, member)) @type = type @method_name = method_name @member = member super "#{member.location}: Duplicated method definition: #{qualified_method_name}" end
# File rbs-1.0.4/lib/rbs/errors.rb, line 225 def qualified_method_name case type when Types::ClassSingleton "#{type.name}.#{method_name}" else "#{type.name}##{method_name}" end end
This page was generated for Ruby 3.0.1
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.2.