Method: Chef::Resource#inspect
- Defined in:
- lib/chef/resource.rb
#inspect ⇒ Object
692 693 694 695 696 697 |
# File 'lib/chef/resource.rb', line 692 def inspect ivars = instance_variables.map(&:to_sym) - FORBIDDEN_IVARS ivars.inject("<#{self}") do |str, ivar| str << " #{ivar}: #{instance_variable_get(ivar).inspect}" end << ">" end |