Class: Steep::Errors::FallbackAny

Inherits:
Base
  • Object
show all
Defined in:
lib/steep/errors.rb

Instance Attribute Summary

Attributes inherited from Base

#node

Instance Method Summary collapse

Methods inherited from Base

#location_to_str, #print_to

Constructor Details

#initialize(node:) ⇒ FallbackAny

Returns a new instance of FallbackAny.



388
389
390
# File 'lib/steep/errors.rb', line 388

def initialize(node:)
  @node = node
end

Instance Method Details

#to_sObject



392
393
394
# File 'lib/steep/errors.rb', line 392

def to_s
  "#{location_to_str}: FallbackAny"
end