Class: Puppet::Pops::Serialization::Extension::ArrayStart
- Includes:
- NotTabulated, SequenceStart
- Defined in:
- lib/puppet/pops/serialization/extension.rb
Overview
The class that triggers the use of the ARRAY_START extension. The payload is the array size
Instance Attribute Summary collapse
- #size ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(size) ⇒ ArrayStart
constructor
A new instance of ArrayStart.
- #sequence_size ⇒ Object
Constructor Details
#initialize(size) ⇒ ArrayStart
Returns a new instance of ArrayStart.
79 80 81 |
# File 'lib/puppet/pops/serialization/extension.rb', line 79 def initialize(size) @size = size end |
Instance Attribute Details
#size ⇒ Object (readonly)
78 79 80 |
# File 'lib/puppet/pops/serialization/extension.rb', line 78 def size @size end |
Instance Method Details
#sequence_size ⇒ Object
83 84 85 |
# File 'lib/puppet/pops/serialization/extension.rb', line 83 def sequence_size @size end |