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.



54
55
56
# File 'lib/puppet/pops/serialization/extension.rb', line 54

def initialize(index)
  @index = index
end

Instance Attribute Details

#indexObject (readonly)



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

def index
  @index
end