123456789_123456789_123456789_123456789_123456789_

Class: ActiveSupport::Callbacks::Conditionals::Value

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: activesupport/lib/active_support/callbacks.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(&block) ⇒ Value

[ GitHub ]

  
# File 'activesupport/lib/active_support/callbacks.rb', line 154

def initialize(&block)
  @block = block
end

Instance Method Details

#call(target, value)

[ GitHub ]

  
# File 'activesupport/lib/active_support/callbacks.rb', line 157

def call(target, value); @block.call(value); end