lib/milkode/cdweb/lib/database.rb in milkode-1.6.1 vs lib/milkode/cdweb/lib/database.rb in milkode-1.7.0
- old
+ new
@@ -19,9 +19,11 @@
module Milkode
# @todo データベースアクセスは将来的にはGroongaDatabaseに収束させる
class Database
include Singleton
+ attr_reader :documents
+
@@db_dir = nil
def self.setup(db_dir)
@@db_dir = db_dir
end