Module Ruote::StorageBase
In: lib/ruote/storage/base.rb

Base methods for storage implementations.

Methods

Public Instance methods

Copies the content of this storage into a target storage.

Of course, the target storage may be a different implementation.

def get_local_msgs

  p @local_msgs
  if @local_msgs
    r = @local_msgs
    @local_msgs = nil
    r
  else
    []
  end

end

Attempts to delete a document, returns true if the deletion succeeded. This is used with msgs to reserve work on them.

Protected Instance methods

Returns all the ats whose due date arrived (now or earlier)

[Validate]