Method: Puppet::Pops::Types::TypeFormatter#debug_string

Defined in:
lib/puppet/pops/types/type_formatter.rb

#debug_string(t) ⇒ Object

Produces a debug string representing the type (possibly with more information that the regular string format)



135
136
137
138
139
140
141
142
# File 'lib/puppet/pops/types/type_formatter.rb', line 135

def debug_string(t)
  @debug = true
  begin
    string(t)
  ensure
    @debug = false
  end
end