Class: Puppet::Pops::Serialization::Extension::Tabulation
- Includes:
- NotTabulated
- Defined in:
- lib/puppet/pops/serialization/extension.rb
Overview
The class that triggers the use of the TABULATION extension. The payload is the tabulation index
Direct Known Subclasses
Instance Attribute Summary collapse
- #index ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(index) ⇒ Tabulation
constructor
A new instance of Tabulation.
Constructor Details
#initialize(index) ⇒ Tabulation
Returns a new instance of Tabulation.
54 55 56 |
# File 'lib/puppet/pops/serialization/extension.rb', line 54 def initialize(index) @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
52 53 54 |
# File 'lib/puppet/pops/serialization/extension.rb', line 52 def index @index end |