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.29.1.1.b259 lib/acfs/collection.rb