# File lib/familia/redisobject.rb, line 382 def [] idx, count=nil if idx.is_a? Range range idx.first, idx.last elsif count case count <=> 0 when 1 then range(idx, idx + count - 1) when 0 then [] when -1 then nil end else at idx end end