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.



410
411
412
# File 'lib/steep/errors.rb', line 410

def initialize(node:)
  @node = node
end

Instance Method Details

#to_sObject



414
415
416
# File 'lib/steep/errors.rb', line 414

def to_s
  "#{location_to_str}: FallbackAny"
end