Class: Steep::TypeInference::SendArgs::PositionalArgs::SplatArg
- Includes:
- Equatable
- Defined in:
- lib/steep/type_inference/send_args.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(node:) ⇒ SplatArg
constructor
A new instance of SplatArg.
Methods included from Equatable
Constructor Details
#initialize(node:) ⇒ SplatArg
Returns a new instance of SplatArg.
46 47 48 49 |
# File 'lib/steep/type_inference/send_args.rb', line 46 def initialize(node:) @node = node @type = nil end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
43 44 45 |
# File 'lib/steep/type_inference/send_args.rb', line 43 def node @node end |
#type ⇒ Object
Returns the value of attribute type.
44 45 46 |
# File 'lib/steep/type_inference/send_args.rb', line 44 def type @type end |