Class: Steep::TypeInference::SendArgs::PositionalArgs::UnexpectedArg

Inherits:
Object
  • Object
show all
Includes:
Equatable
Defined in:
lib/steep/type_inference/send_args.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Equatable

#==, #eql?, #hash

Constructor Details

#initialize(node:) ⇒ UnexpectedArg

Returns a new instance of UnexpectedArg.



57
58
59
# File 'lib/steep/type_inference/send_args.rb', line 57

def initialize(node:)
  @node = node
end

Instance Attribute Details

#nodeObject (readonly)

Returns the value of attribute node.



55
56
57
# File 'lib/steep/type_inference/send_args.rb', line 55

def node
  @node
end