module ViewModel::Callbacks::CallbackEnvContext
Callbacks
are run in the instance context of an Env class that wraps the callbacks instance with additional instance method access to the view, context and extra context-dependent parameters.
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
Calls superclass method
# File lib/view_model/callbacks.rb, line 14 def method_missing(method, *args, &block) if _callbacks.respond_to?(method, true) _callbacks.send(method, *args, &block) else super end end
respond_to_missing?(method, include_all = false)
click to toggle source
Calls superclass method
# File lib/view_model/callbacks.rb, line 22 def respond_to_missing?(method, include_all = false) _callbacks.respond_to?(method, false) || super end