Sha256: 32116db50427ef051ac870a23c91b4066141a7d99746b9e7592c86ced8f0099c
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
require 'active_support/core_ext/hash/indifferent_access' module Redisrank 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redisrank-0.1.0 | lib/redisrank/result.rb |