Flowdock
method

should_run_callback?

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::Callbacks::Callback
should_run_callback?(*args) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/callbacks.rb, line 194
        def should_run_callback?(*args)
          [options[:if]].flatten.compact.all? { |a| evaluate_method(a, *args) } &&
          ![options[:unless]].flatten.compact.any? { |a| evaluate_method(a, *args) }
        end
Register or log in to add new notes.