Methods

Class Public methods

new(&block)

# File activesupport/lib/active_support/callbacks.rb, line 151
def initialize(&block)
  @block = block
end

Instance Public methods

call(target, value)

# File activesupport/lib/active_support/callbacks.rb, line 154
def call(target, value); @block.call(value); end