Sha256: 00cf811d494999fa9f88663455855835401e9e8cde4c935e98adf5b5ca20ed67
Contents?: true
Size: 341 Bytes
Versions: 2
Compression:
Stored size: 341 Bytes
Contents
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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redistat-0.5.0 | lib/redistat/result.rb |
redistat-0.4.0 | lib/redistat/result.rb |