Parent

GirlFriday::Store::InMemory

Public Class Methods

new(name, options) click to toggle source
# File lib/girl_friday/persistence.rb, line 5
def initialize(name, options)
  @backlog = []
end

Public Instance Methods

<<(work) click to toggle source
Alias for: push
pop() click to toggle source
# File lib/girl_friday/persistence.rb, line 14
def pop
  @backlog.shift
end
push(work) click to toggle source
# File lib/girl_friday/persistence.rb, line 9
def push(work)
  @backlog << work
end
Also aliased as: <<
size() click to toggle source
# File lib/girl_friday/persistence.rb, line 18
def size
  @backlog.size
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.