diff options
author | AbhishekKr <abhikumar163@gmail.com> | 2016-09-10 02:28:30 +0530 |
---|---|---|
committer | AbhishekKr <abhikumar163@gmail.com> | 2016-09-10 02:28:30 +0530 |
commit | 5c01c0f74941d4f788e254ae4d040c0e4a2a477d (patch) | |
tree | 8cf25328d577db77d191d88bdc85277629553f3e /lib/chef/node/attribute.rb | |
parent | c3c6cfc156d0a0bfe7c7dd4f273a2c2bdc4b0281 (diff) | |
parent | 3731bff0641d0cb12780bc52376e50d9a0a71644 (diff) | |
download | chef-5c01c0f74941d4f788e254ae4d040c0e4a2a477d.tar.gz |
Merge branch 'master' of https://github.com/chef/chef
Diffstat (limited to 'lib/chef/node/attribute.rb')
-rw-r--r-- | lib/chef/node/attribute.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb index f5fe89251d..95b3b09f7e 100644 --- a/lib/chef/node/attribute.rb +++ b/lib/chef/node/attribute.rb @@ -537,12 +537,12 @@ class Chef end def inspect - "#<#{self.class} " << (COMPONENTS + [:@merged_attributes, :@properties]).map {|iv| + "#<#{self.class} " << (COMPONENTS + [:@merged_attributes, :@properties]).map do |iv| "#{iv}=#{instance_variable_get(iv).inspect}" - }.join(", ") << ">" + end.join(", ") << ">" end - private + private # Helper method for merge_all/merge_defaults/merge_overrides. # |