Method: Cure::Builder::BaseBuilder#with_database
- Defined in:
- lib/cure/builder/base_builder.rb
#with_database {|DatabaseService| ... } ⇒ Object
39 40 41 42 43 |
# File 'lib/cure/builder/base_builder.rb', line 39 def with_database(&block) raise "Missing block" unless block yield database_service end |