Class: Puppet::Pops::Serialization::Extension::Tabulation

Inherits:
Object
  • Object
show all
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

InnerTabulation

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#indexObject (readonly)



49
50
51
# File 'lib/puppet/pops/serialization/extension.rb', line 49

def index
  @index
end