diff options
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/resource/lwrp_base.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/chef/resource/lwrp_base.rb b/lib/chef/resource/lwrp_base.rb index 89e4aa8b42..40c44f83f9 100644 --- a/lib/chef/resource/lwrp_base.rb +++ b/lib/chef/resource/lwrp_base.rb @@ -145,6 +145,12 @@ class Chef DelayedEvaluator.new(&block) end + protected + + def loaded_lwrps + @loaded_lwrps ||= {} + end + private # Get the value from the superclass, if it responds, otherwise return @@ -155,10 +161,6 @@ class Chef return default if superclass == Chef::Resource::LWRPBase superclass.respond_to?(m) ? superclass.send(m) : default end - - def loaded_lwrps - @loaded_lwrps ||= {} - end end private |