Methods

Class Public methods

new(&block)

📝 Source code
# File activesupport/lib/active_support/callbacks.rb, line 151
          def initialize(&block)
            @block = block
          end
🔎 See on GitHub

Instance Public methods

call(target, value)

📝 Source code
# File activesupport/lib/active_support/callbacks.rb, line 154
          def call(target, value); @block.call(value); end
🔎 See on GitHub