lib/redistat/collection.rb in redistat-0.3.0 vs lib/redistat/collection.rb in redistat-0.4.0

- old
+ new

@@ -1,20 +1,20 @@ 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 \ No newline at end of file +end