class Cheffish::ChefRun::EventSink
Attributes
events[R]
Public Class Methods
new()
click to toggle source
# File lib/cheffish/chef_run.rb, line 146 def initialize @events = [] end
Public Instance Methods
method_missing(method, *args)
click to toggle source
# File lib/cheffish/chef_run.rb, line 152 def method_missing(method, *args) @events << [ method, *args ] end
respond_to_missing?(method_name, include_private = false)
click to toggle source
# File lib/cheffish/chef_run.rb, line 156 def respond_to_missing?(method_name, include_private = false) # Chef::EventDispatch::Dispatcher calls #respond_to? to see (basically) if we'll accept an event; # obviously, per above #method_missing, we'll accept whatever we're given. if there's a problem, it # will surface higher up the stack. true end