Sha256: f5b701236866475bb4a26db7becdf59a68182387b47cc656aff225260ed70b2a

Contents?: true

Size: 173 Bytes

Versions: 17

Compression:

Stored size: 173 Bytes

Contents

module ActiveSupport
  module Callbacks
    class Callback
      def applies? object
        conditions_lambdas.all? { |c| c.call(object, nil) }
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
card-1.92.2 lib/active_support/callbacks_ext.rb
card-1.92.1 lib/active_support/callbacks_ext.rb
card-1.92 lib/active_support/callbacks_ext.rb
card-1.91 lib/active_support/callbacks_ext.rb
card-1.21.0 lib/active_support/callbacks_ext.rb
card-1.20.4 lib/active_support/callbacks_ext.rb
card-1.20.3 lib/active_support/callbacks_ext.rb
card-1.20.2 lib/active_support/callbacks_ext.rb
card-1.20.1 lib/active_support/callbacks_ext.rb
card-1.20.0 lib/active_support/callbacks_ext.rb
card-1.19.6 lib/active_support/callbacks_ext.rb
card-1.19.5 lib/active_support/callbacks_ext.rb
card-1.19.4 lib/active_support/callbacks_ext.rb
card-1.19.3 lib/active_support/callbacks_ext.rb
card-1.19.2 lib/active_support/callbacks_ext.rb
card-1.19.1 lib/active_support/callbacks_ext.rb
card-1.19.0 lib/active_support/callbacks_ext.rb