class WorkflowManager::Server::PStoreDB

Public Class Methods

new(db_file) click to toggle source
# File lib/workflow_manager/server.rb, line 96
def initialize(db_file)
  @db = PStore.new(db_file)
end

Public Instance Methods

transaction() { |db| ... } click to toggle source
# File lib/workflow_manager/server.rb, line 99
def transaction
  @db.transaction do 
    yield(@db)
  end
end