Class: Steep::TypeInference::SendArgs::PositionalArgs::UnexpectedArg
- Includes:
- Equatable
- Defined in:
- lib/steep/type_inference/send_args.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(node:) ⇒ UnexpectedArg
constructor
A new instance of UnexpectedArg.
Methods included from Equatable
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
#node ⇒ Object (readonly)
Returns the value of attribute node.
55 56 57 |
# File 'lib/steep/type_inference/send_args.rb', line 55 def node @node end |