Module: BlackStack
- Defined in:
- lib/blackstack-db.rb,
lib/blackstack-db/crdb.rb,
lib/blackstack-db/postgresql.rb
Defined Under Namespace
Modules: CRDB, PostgreSQL
Constant Summary collapse
- TYPE_POSTGRESQL =
0- TYPE_CRDB =
1- @@db_type =
nil
Class Method Summary collapse
-
.db_type ⇒ Object
set_db_type.
- .set_db_type(n) ⇒ Object
Class Method Details
.db_type ⇒ Object
set_db_type
14 15 16 |
# File 'lib/blackstack-db.rb', line 14 def self.db_type @@db_type end |
.set_db_type(n) ⇒ Object
10 11 12 |
# File 'lib/blackstack-db.rb', line 10 def self.set_db_type(n) @@db_type = n end |