# File lib/girl_friday/persistence.rb, line 36 def pop val = redis { |r| r.lpop(@key) } Marshal.load(val) if val end
# File lib/girl_friday/persistence.rb, line 30 def push(work) val = Marshal.dump(work) redis { |r| r.rpush(@key, val) } end
Generated with the Darkfish Rdoc Generator 2.