aboutsummaryrefslogtreecommitdiff
path: root/src/guff.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-15 20:05:15 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-15 20:05:15 -0400
commitebcd06d010367654e88d777cf4721be05d6e690e (patch)
treed3b97df19f1d217ea5487e7ee63ba7816db86448 /src/guff.cr
parent70c4ccad4bc5464324d4321422bc5d13f8669204 (diff)
downloadguff-ebcd06d010367654e88d777cf4721be05d6e690e.tar.bz2
guff-ebcd06d010367654e88d777cf4721be05d6e690e.zip
refactor database-pair
Diffstat (limited to 'src/guff.cr')
-rw-r--r--src/guff.cr21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/guff.cr b/src/guff.cr
index e0f97ad..c1acd8b 100644
--- a/src/guff.cr
+++ b/src/guff.cr
@@ -1325,27 +1325,6 @@ module Guff
end
end
- class DatabasePair
- getter :ro, :rw
-
- def initialize(
- path : String,
- debug : Bool = false
- )
- @ro = Database.new(
- path: path,
- read_only: true,
- debug: debug
- )
-
- @rw = Database.new(
- path: path,
- read_only: false,
- debug: debug
- )
- end
- end
-
class Context
getter :config, :dbs