Method: LideoDao#all
- Defined in:
- lib/lideo_dao.rb
#all ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/lideo_dao.rb', line 30 def all store = PStore.new(FULL_DB_FILE_PATH) list = [] store.transaction(true) do store.roots.map { |root| list << store[root] } end list end |