class Puppet::Pops::PN::Indent

Attributes

current[R]

Public Class Methods

new(indent = ' ', current = '') click to toggle source
   # File lib/puppet/pops/pn.rb
72 def initialize(indent = '  ', current = '')
73   @indent = indent
74   @current = current
75 end

Public Instance Methods

increase() click to toggle source
   # File lib/puppet/pops/pn.rb
77 def increase
78   Indent.new(@indent, @current + @indent)
79 end