summaryrefslogtreecommitdiff
path: root/lib/chef/node/attribute.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-10-07 16:47:43 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-10-25 09:29:29 -0700
commit9edd0113f2d046e051845cf1916fcf733d392791 (patch)
tree3d23e6552e610f3be6b860c487385e77c5b04cf4 /lib/chef/node/attribute.rb
parentcbbc1c722a662596189a1a0b9aeee584b3482873 (diff)
downloadchef-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.rb2
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