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

- old
+ new

@@ -1,18 +1,18 @@ require 'active_support/core_ext/hash/indifferent_access' module Redistat class Result < HashWithIndifferentAccess - + attr_accessor :from attr_accessor :till - + alias :date :from alias :date= :from= - + def initialize(options = {}) @from = options[:from] ||= nil @till = options[:till] ||= nil end - + end end