Methods
Class Public methods
new(&block)
Source:
# File activesupport/lib/active_support/callbacks.rb, line 151
def initialize(&block)
@block = block
end
Instance Public methods
call(target, value)
Source:
# File activesupport/lib/active_support/callbacks.rb, line 154
def call(target, value); @block.call(value); end