Sha256: c7c14bf77bd27aa05030b6af50934165d530c4684c44448e5f4eeae7b0c4bcbf

Contents?: true

Size: 308 Bytes

Versions: 21

Compression:

Stored size: 308 Bytes

Contents

require 'delegate'

require 'acfs/model/loadable'

module Acfs

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

    def initialize
      super([])
    end

    def __getobj__
      @models
    end

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
acfs-0.33.1.1.b281 lib/acfs/collection.rb
acfs-0.33.1 lib/acfs/collection.rb
acfs-0.33.0.1.b278 lib/acfs/collection.rb
acfs-0.33.0 lib/acfs/collection.rb
acfs-0.32.1.1.b277 lib/acfs/collection.rb
acfs-0.32.1.1.b276 lib/acfs/collection.rb
acfs-0.32.1.1.b275 lib/acfs/collection.rb
acfs-0.32.1.1.b274 lib/acfs/collection.rb
acfs-0.32.1.1.b272 lib/acfs/collection.rb
acfs-0.32.1 lib/acfs/collection.rb
acfs-0.32.0.1.b270 lib/acfs/collection.rb
acfs-0.31.0.1.b269 lib/acfs/collection.rb
acfs-0.32.0 lib/acfs/collection.rb
acfs-0.31.0.1.b265 lib/acfs/collection.rb
acfs-0.31.0.1.b263 lib/acfs/collection.rb
acfs-0.31.0 lib/acfs/collection.rb
acfs-0.30.0.1.b262 lib/acfs/collection.rb
acfs-0.30.0.1.b261 lib/acfs/collection.rb
acfs-0.30.0.1.b260 lib/acfs/collection.rb
acfs-0.30.0 lib/acfs/collection.rb