Method: Redis::List#each

Defined in:
lib/redis/list.rb

#each(&block) ⇒ Object

Iterate through each member of the set. Redis::Objects mixes in Enumerable, so you can also use familiar methods like collect, detect, and so forth.



77
78
79
# File 'lib/redis/list.rb', line 77

def each(&block)
  values.each(&block)
end