Module: Chef::Mixin::Deprecation

Included in:
Recipe, Resource
Defined in:
lib/chef/mixin/deprecation.rb

Defined Under Namespace

Classes: DeprecatedInstanceVariable, DeprecatedObjectProxyBase

Instance Method Summary collapse

Instance Method Details

#deprecated_ivar(obj, name, level = nil) ⇒ Object


59
60
61
# File 'lib/chef/mixin/deprecation.rb', line 59

def deprecated_ivar(obj, name, level=nil)
  DeprecatedInstanceVariable.new(obj, name, level)
end