Method: Puppet::Transaction::Event#resource=
- Defined in:
- lib/puppet/transaction/event.rb
#resource=(res) ⇒ 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.
113 114 115 116 117 118 119 |
# File 'lib/puppet/transaction/event.rb', line 113 def resource=(res) level = res[:loglevel] if res.respond_to?(:[]) if level @default_log_level = level end @resource = res.to_s end |