Sha256: b53d2da5b7e9a658702d91a387644632dffe1317d429ca64a5a9f38c73fe2743

Contents?: true

Size: 200 Bytes

Versions: 11

Compression:

Stored size: 200 Bytes

Contents

module Mongoid
  module Publishable
    class CallbackCollection < Array
      def process(object)
        each do |callback|
          callback.process(object)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mongoid-publishable-0.4.0 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.3.2 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.3.1 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.2.1 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.2.0 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.1.0 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.0.5 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.0.4 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.0.3 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.0.2 lib/mongoid/publishable/callback_collection.rb
mongoid-publishable-0.0.1 lib/mongoid/publishable/callback_collection.rb