class ActiveSupport::Callbacks::Conditionals::Value - activesupport-4.2.4 Documentation

# class ActiveSupport::Callbacks::Conditionals::Value

### Public Class Methods

new(&block) click to toggle source

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

### Public Instance Methods

call(target, value) click to toggle source

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