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


51
52
53
# File 'lib/puppet/pops/serialization/extension.rb', line 51

def initialize(index)
  @index = index
end

Instance Attribute Details

#indexObject (readonly)


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

def index
  @index
end