Class: Steep::TypeInference::SendArgs::KeywordArgs::SplatArg

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:) ⇒ 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

#nodeObject (readonly)

Returns the value of attribute node.



208
209
210
# File 'lib/steep/type_inference/send_args.rb', line 208

def node
  @node
end

#typeObject

Returns the value of attribute type.



209
210
211
# File 'lib/steep/type_inference/send_args.rb', line 209

def type
  @type
end