Class: Steep::Errors::IncompatibleZuper
- Defined in:
- lib/steep/errors.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(node:, method:) ⇒ IncompatibleZuper
constructor
A new instance of IncompatibleZuper.
- #to_s ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(node:, method:) ⇒ IncompatibleZuper
Returns a new instance of IncompatibleZuper.
339 340 341 342 |
# File 'lib/steep/errors.rb', line 339 def initialize(node:, method:) super(node: node) @method = method end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
337 338 339 |
# File 'lib/steep/errors.rb', line 337 def method @method end |
Instance Method Details
#to_s ⇒ Object
344 345 346 |
# File 'lib/steep/errors.rb', line 344 def to_s "#{location_to_str}: IncompatibleZuper: method=#{method}" end |