Class: Puppet::Pops::PN::Indent
Instance Attribute Summary collapse
- #current ⇒ Object readonly
Instance Method Summary collapse
- #increase ⇒ Object
-
#initialize(indent = ' ', current = '') ⇒ Indent
constructor
A new instance of Indent.
Constructor Details
#initialize(indent = ' ', current = '') ⇒ Indent
Returns a new instance of Indent.
74 75 76 77 |
# File 'lib/puppet/pops/pn.rb', line 74 def initialize(indent = ' ', current = '') @indent = indent @current = current end |
Instance Attribute Details
#current ⇒ Object (readonly)
72 73 74 |
# File 'lib/puppet/pops/pn.rb', line 72 def current @current end |