Method: Chef::DataBagItem#method_missing

Defined in:
lib/chef/data_bag_item.rb

#method_missing(method_name, *arguments, &block) ⇒ Object

delegate missing methods to the @raw_data Hash



48
49
50
51
52
53
# File 'lib/chef/data_bag_item.rb', line 48

def method_missing(method_name, *arguments, &block)
  @raw_data.send(method_name, *arguments, &block)
rescue
  # throw more sensible errors back at the user
  super
end