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.25.0.1.b223 lib/acfs/collection.rb
acfs-0.25.0.1.b221 lib/acfs/collection.rb
acfs-0.25.0.1.b217 lib/acfs/collection.rb
acfs-0.25.0 lib/acfs/collection.rb
acfs-0.24.0.1.b216 lib/acfs/collection.rb
acfs-0.24.0.1.b214 lib/acfs/collection.rb
acfs-0.24.0.1.b212 lib/acfs/collection.rb
acfs-0.24.0.b210 lib/acfs/collection.rb
acfs-0.24.0 lib/acfs/collection.rb
acfs-0.23.2.b209 lib/acfs/collection.rb
acfs-0.23.2.b208 lib/acfs/collection.rb
acfs-0.23.2.b206 lib/acfs/collection.rb
acfs-0.23.2.b205 lib/acfs/collection.rb
acfs-0.23.2.b204 lib/acfs/collection.rb
acfs-0.23.2.b203 lib/acfs/collection.rb
acfs-0.23.2.b200 lib/acfs/collection.rb
acfs-0.23.2.b199 lib/acfs/collection.rb
acfs-0.23.2 lib/acfs/collection.rb
acfs-0.23.1.b198 lib/acfs/collection.rb
acfs-0.23.1 lib/acfs/collection.rb