Class: Tuttle::Presenters::ActiveSupport::Callbacks::CallbackChainWrapper

Inherits:
ActiveSupport::Callbacks::CallbackChain
  • Object
show all
Defined in:
lib/tuttle/presenters/active_support/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



19
20
21
# File 'lib/tuttle/presenters/active_support/callbacks.rb', line 19

def each(&block)
  chain.map { |cb| CallbackWrapper.new(::Tuttle::Presenters::ActiveSupport::Callbacks::CallbackWrapper.new(cb)) } .each(&block)
end