Class: Chef::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/toaster/chef/failsafe_resource_parser.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(sym, *args, &block) ⇒ Object



14
15
16
# File 'lib/toaster/chef/failsafe_resource_parser.rb', line 14

def method_missing(sym, *args, &block)
  @attributes_proxy.send(sym, *args, &block)
end

Instance Method Details

#attributes_proxy=(attrs) ⇒ Object



11
12
13
# File 'lib/toaster/chef/failsafe_resource_parser.rb', line 11

def attributes_proxy=(attrs)
  @attributes_proxy = attrs
end