Method: Puppet::Pops::Types::TypeFormatter#ruby_string
- Defined in:
- lib/puppet/pops/types/type_formatter.rb
#ruby_string(ref_ctor, indent, t) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
90 91 92 93 94 95 96 97 98 99 |
# File 'lib/puppet/pops/types/type_formatter.rb', line 90 def ruby_string(ref_ctor, indent, t) @ruby = true @ref_ctor = ref_ctor begin indented_string(t, indent) ensure @ruby = nil @ref_ctor = nil end end |