Method: Puppet::Pops::Types::TypeFormatter#indented
- Defined in:
- lib/puppet/pops/types/type_formatter.rb
#indented(indent = 0, indent_width = 2) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/puppet/pops/types/type_formatter.rb', line 36 def indented(indent = 0, indent_width = 2) tf = clone tf.instance_variable_set(:@indent, indent) tf.instance_variable_set(:@indent_width, indent_width) tf end |