Method: Chef::DataBagItem#method_missing

Defined in:
lib/chef/data_bag_item.rb

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

The Data Bag Item behaves like a hash - we pass all that stuff along to @raw_data.



158
159
160
# File 'lib/chef/data_bag_item.rb', line 158

def method_missing(method_symbol, *args, &block) 
  self.raw_data.send(method_symbol, *args, &block)
end