Class: Arxutils::Store::StoreDb

Inherits:
Object
  • Object
show all
Defined in:
lib/arxutils/store/storedb.rb

Class Method Summary collapse

Class Method Details

.init(hs, block = nil) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/arxutils/store/storedb.rb', line 7

def StoreDb.init( hs , block = nil )
  ret = nil
  register_time = Dbutil::DbMgr.init( hs["migrate_dir"] , hs["config_dir"], hs["dbconfig"] , hs["log_fname"] )

  if block
    ret = block.call( register_time )
  end
  ret
end