edge badge
Methods
B
Class Public methods
build(callback_sequence, user_callback, user_conditions, chain_config, filter)
# File activesupport/lib/active_support/callbacks.rb, line 162
def self.build(callback_sequence, user_callback, user_conditions, chain_config, filter)
  halted_lambda = chain_config[:terminator]

  if user_conditions.any?
    halting_and_conditional(callback_sequence, user_callback, user_conditions, halted_lambda, filter)
  else
    halting(callback_sequence, user_callback, halted_lambda, filter)
  end
end