Method: Chef::Compliance::ProfileCollection#inspect
- Defined in:
- lib/chef/compliance/profile_collection.rb
#inspect ⇒ Object
Omit the event object from error output
100 101 102 103 104 105 |
# File 'lib/chef/compliance/profile_collection.rb', line 100 def inspect ivar_string = (instance_variables.map(&:to_sym) - HIDDEN_IVARS).map do |ivar| "#{ivar}=#{instance_variable_get(ivar).inspect}" end.join(", ") "#<#{self.class}:#{object_id} #{ivar_string}>" end |