Sha256: f9c29e99ac5a40edddb0436b292417dadfe97c9630ae4ad50093d24d3c4b0145

Contents?: true

Size: 274 Bytes

Versions: 83

Compression:

Stored size: 274 Bytes

Contents

require 'delegate'

require 'acfs/model/loadable'

module Acfs

  class Collection < ::Delegator
    include Model::Loadable

    def initialize
      super([])
    end

    def __getobj__
      @models
    end

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

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
acfs-0.29.1.1.b257 lib/acfs/collection.rb
acfs-0.29.1 lib/acfs/collection.rb
acfs-0.29.0.1.b256 lib/acfs/collection.rb
acfs-0.29.0.1.b254 lib/acfs/collection.rb
acfs-0.29.0 lib/acfs/collection.rb
acfs-0.28.0.1.b253 lib/acfs/collection.rb
acfs-0.28.0.1.b249 lib/acfs/collection.rb
acfs-0.28.0 lib/acfs/collection.rb
acfs-0.27.0.1.b248 lib/acfs/collection.rb
acfs-0.27.0.1.b244 lib/acfs/collection.rb
acfs-0.27.0 lib/acfs/collection.rb
acfs-0.26.0.1.b243 lib/acfs/collection.rb
acfs-0.26.0.1.b242 lib/acfs/collection.rb
acfs-0.26.0 lib/acfs/collection.rb
acfs-0.25.0.1.b232 lib/acfs/collection.rb
acfs-0.25.0.1.b229 lib/acfs/collection.rb
acfs-0.25.0.1.b228 lib/acfs/collection.rb
acfs-0.25.0.1.b227 lib/acfs/collection.rb
acfs-0.25.0.1.b226 lib/acfs/collection.rb
acfs-0.25.0.1.b225 lib/acfs/collection.rb