Class: Steep::Errors::ElseOnExhaustiveCase
- Defined in:
- lib/steep/errors.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(node:, type:) ⇒ ElseOnExhaustiveCase
constructor
A new instance of ElseOnExhaustiveCase.
- #to_s ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(node:, type:) ⇒ ElseOnExhaustiveCase
Returns a new instance of ElseOnExhaustiveCase.
459 460 461 462 463 |
# File 'lib/steep/errors.rb', line 459 def initialize(node:, type:) def to_s "#{location_to_str}: ElseOnExhaustiveCase: type=#{type}" end end |
Instance Method Details
#to_s ⇒ Object
460 461 462 |
# File 'lib/steep/errors.rb', line 460 def to_s "#{location_to_str}: ElseOnExhaustiveCase: type=#{type}" end |