Sha256: 92f72eff4f3f71bfd56683930efda1deb8ff41d22b175c80f78962c139bdff23
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
module Redisrank class Collection < ::Array attr_accessor :from attr_accessor :till attr_accessor :depth attr_accessor :rank def initialize(options = {}) @from = options[:from] ||= nil @till = options[:till] ||= nil @depth = options[:depth] ||= nil end def rank @rank ||= {} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redisrank-0.1.0 | lib/redisrank/collection.rb |