Method: Puppet::Util::Instrumentation::Data#to_pson
- Defined in:
- lib/vendor/puppet/util/instrumentation/data.rb
#to_pson(*args) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/vendor/puppet/util/instrumentation/data.rb', line 23 def to_pson(*args) result = { 'document_type' => "Puppet::Util::Instrumentation::Data", 'data' => { :name => name }.merge(@listener.respond_to?(:data) ? @listener.data : {}) } result.to_pson(*args) end |