Class: Argo::ArrayProperty

Inherits:
Property
  • Object
show all
Defined in:
lib/argo/array_property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items:, **kwargs) ⇒ ArrayProperty

Returns a new instance of ArrayProperty.



5
6
7
8
# File 'lib/argo/array_property.rb', line 5

def initialize(items:, **kwargs)
  super(**kwargs)
  @items = items
end

Instance Attribute Details

#itemsObject (readonly)

Returns the value of attribute items.



10
11
12
# File 'lib/argo/array_property.rb', line 10

def items
  @items
end