lib/ardb/adapter/sqlite.rb in ardb-0.28.3 vs lib/ardb/adapter/sqlite.rb in ardb-0.29.0
- old
+ new
@@ -1,13 +1,11 @@
-require 'fileutils'
-require 'ardb'
-require 'ardb/adapter/base'
+require "fileutils"
+require "ardb"
+require "ardb/adapter/base"
module Ardb::Adapter
-
- class Sqlite < Base
-
+ class Sqlite < Ardb::Adapter::Base
def db_file_path
File.expand_path(self.database, self.config.root_path)
end
def validate!
@@ -23,9 +21,7 @@
end
def drop_db
FileUtils.rm(self.db_file_path) if File.exist?(self.db_file_path)
end
-
end
-
end