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.
50 51 52 |
# File 'lib/puppet/pops/serialization/extension.rb', line 50 def initialize(index) @index = index end |
Instance Attribute Details
#index ⇒ Object (readonly)
49 50 51 |
# File 'lib/puppet/pops/serialization/extension.rb', line 49 def index @index end |