ActiveSupport::Callbacks::Conditionals::Value Ruby on Rails 5.1.2 Class ActiveSupport::Callbacks::Conditionals::Value < Object activesupport/lib/active_support/callbacks.rb Methods C call N new Class Public methods new(&block) Link Source: show | on GitHub # File activesupport/lib/active_support/callbacks.rb, line 150 def initialize(&block) @block = block end Instance Public methods call(target, value) Link Source: show | on GitHub # File activesupport/lib/active_support/callbacks.rb, line 153 def call(target, value); @block.call(value); end