Sha256: 56cd02b0bbe780fa69c4e0406ad55f311b7d5be032730691f8cf23747cb33891

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

require 'delegate'

require 'acfs/model/loadable'
require 'acfs/collections/paginatable'

module Acfs

  class Collection < ::Delegator
    include Model::Loadable
    include Acfs::Util::Callbacks
    include Collections::Paginatable

    def initialize
      super([])
    end

    def __getobj__
      @models
    end

    def __setobj__(obj)
      @models = obj
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acfs-0.34.0.1.b286 lib/acfs/collection.rb
acfs-0.34.0 lib/acfs/collection.rb
acfs-0.33.1.1.b285 lib/acfs/collection.rb