Sha256: 6d6195cf75ce5c9ee7cdf3b2c9b58d28dac7e25f04d2f79d1f78a81be74a9d20

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

module Sequel
  class Dataset
    # Module with empty methods that can be
    # override to provide callback behavior
    module Callback
      private
        # This is run inside .all, after all
        # of the records have been loaded
        # via .each, but before any block passed
        # to all is called.  It is called with
        # a single argument, an array of all
        # returned records.
        def post_load(all_records)
        end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sequel_core-1.5.1 lib/sequel_core/dataset/callback.rb
sequel_core-1.5.0 lib/sequel_core/dataset/callback.rb