Sha256: 61b38ad327d4170814b5a783e92b1062cd39661501227487ee663f67aa13c64c
Contents?: true
Size: 353 Bytes
Versions: 2
Compression:
Stored size: 353 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redistat-0.5.0 | lib/redistat/collection.rb |
redistat-0.4.0 | lib/redistat/collection.rb |