class RBS::UnknownMethodAliasError

Attributes

aliased_name[R]
location[R]
original_name[R]
type_name[R]

Public Class Methods

new(type_name:, original_name:, aliased_name:, location:) click to toggle source
Calls superclass method
# File rbs-1.4.0/lib/rbs/errors.rb, line 254
def initialize(type_name:, original_name:, aliased_name:, location:)
  @type_name = type_name
  @original_name = original_name
  @aliased_name = aliased_name
  @location = location

  super "#{Location.to_string location}: Unknown method alias name: #{original_name} => #{aliased_name} (#{type_name})"
end