Sha256: 53088135baa2b555fd60998f7b417081a61c5aa2997dbed2530e50e7ca299e92

Contents?: true

Size: 368 Bytes

Versions: 15

Compression:

Stored size: 368 Bytes

Contents

module Redistat
  class Collection < ::Array
    
    attr_accessor :from
    attr_accessor :till
    attr_accessor :depth
    attr_accessor :total
    
    def initialize(options = {})
      @from = options[:from] ||= nil
      @till = options[:till] ||= nil
      @depth = options[:depth] ||= nil
    end
    
    def total
      @total ||= {}
    end
    
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
redistat-0.3.0 lib/redistat/collection.rb
redistat-0.2.6 lib/redistat/collection.rb
redistat-0.2.5 lib/redistat/collection.rb
redistat-0.2.4 lib/redistat/collection.rb
redistat-0.2.3 lib/redistat/collection.rb
redistat-0.2.2 lib/redistat/collection.rb
redistat-0.2.1 lib/redistat/collection.rb
redistat-0.2.0 lib/redistat/collection.rb
redistat-0.1.1 lib/redistat/collection.rb
redistat-0.1.0 lib/redistat/collection.rb
redistat-0.0.9 lib/redistat/collection.rb
redistat-0.0.8 lib/redistat/collection.rb
redistat-0.0.7 lib/redistat/collection.rb
redistat-0.0.6 lib/redistat/collection.rb
redistat-0.0.5 lib/redistat/collection.rb