module Interaptor::ClassMethods
Public Instance Methods
after(&block)
click to toggle source
# File lib/interaptor/callbacks.rb, line 32 def after(&block) after_callbacks << block end
after_callbacks()
click to toggle source
# File lib/interaptor/callbacks.rb, line 40 def after_callbacks @after_callbacks ||= [] end
before(&block)
click to toggle source
# File lib/interaptor/callbacks.rb, line 28 def before(&block) before_callbacks << block end
before_callbacks()
click to toggle source
# File lib/interaptor/callbacks.rb, line 36 def before_callbacks @before_callbacks ||= [] end