Class: Steep::TypeInference::SendArgs::KeywordArgs::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.
211 212 213 214 |
# File 'lib/steep/type_inference/send_args.rb', line 211 def initialize(node:) @node = node @type = nil end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
208 209 210 |
# File 'lib/steep/type_inference/send_args.rb', line 208 def node @node end |
#type ⇒ Object
Returns the value of attribute type.
209 210 211 |
# File 'lib/steep/type_inference/send_args.rb', line 209 def type @type end |