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



94
95
96
# File 'lib/chef/mixin/deprecation.rb', line 94

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