class Puppet::Pops::PN::Indent

Attributes

current[R]

Public Class Methods

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

Public Instance Methods

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