Sha256: fb354c1df2e16cd1fabb7bcdb09f60fad2c70ad3dae96a0d032f1580bb209c3d

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redistat-0.2.6 lib/redistat/result.rb
redistat-0.2.5 lib/redistat/result.rb
redistat-0.2.4 lib/redistat/result.rb
redistat-0.2.3 lib/redistat/result.rb
redistat-0.2.2 lib/redistat/result.rb