Method: Chef::Node#respond_to_missing?

Defined in:
lib/chef/node.rb

#respond_to_missing?(method, include_private = false) ⇒ Boolean

Fix respond_to + method so that it works with method_missing delegation

Returns:

  • (Boolean)


268
269
270
# File 'lib/chef/node.rb', line 268

def respond_to_missing?(method, include_private = false)
  attributes.respond_to?(method, false)
end