Module: Cure::Database
- Included in:
- Builder, Builder::BaseBuilder, Coordinator, Extract::Extractor, Generator::VariableGenerator, History::HistoryCache, Launcher
- Defined in:
- lib/cure/database.rb
Instance Method Summary collapse
Instance Method Details
#database_service ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'lib/cure/database.rb', line 11 def database_service database = DatabaseSource.instance.database_service return database if database init_database DatabaseSource.instance.database_service end |
#init_database ⇒ Object
20 21 22 |
# File 'lib/cure/database.rb', line 20 def init_database DatabaseSource.instance.init_database end |