diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-07 16:47:43 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-25 09:29:29 -0700 |
commit | 9edd0113f2d046e051845cf1916fcf733d392791 (patch) | |
tree | 3d23e6552e610f3be6b860c487385e77c5b04cf4 /lib/chef/node/attribute.rb | |
parent | cbbc1c722a662596189a1a0b9aeee584b3482873 (diff) | |
download | chef-9edd0113f2d046e051845cf1916fcf733d392791.tar.gz |
rename __path to __path__ and __node to __node__lcg/node-path-tracking
consistency with Unchain here:
https://github.com/chef/chef/blob/master/lib/chef/decorator/unchain.rb#L23-L24
and with SimpleDelegator:
https://ruby-doc.org/stdlib-2.1.0/libdoc/delegate/rdoc/SimpleDelegator.html#method-i-__getobj__
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/node/attribute.rb')
-rw-r--r-- | lib/chef/node/attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb index 67b114a270..2d6aff0b21 100644 --- a/lib/chef/node/attribute.rb +++ b/lib/chef/node/attribute.rb @@ -596,7 +596,7 @@ class Chef end end - # needed for __path + # needed for __path__ def convert_key(key) key.kind_of?(Symbol) ? key.to_s : key end |