Class: Validb::Tasker
- Inherits:
-
Object
- Object
- Validb::Tasker
- Defined in:
- lib/validb/tasker.rb
Instance Method Summary collapse
-
#initialize(model_names, filename) ⇒ Tasker
constructor
A new instance of Tasker.
- #run ⇒ Object
Constructor Details
#initialize(model_names, filename) ⇒ Tasker
Returns a new instance of Tasker.
4 5 6 7 |
# File 'lib/validb/tasker.rb', line 4 def initialize(model_names, filename) @model_names = model_names @filename = filename end |
Instance Method Details
#run ⇒ Object
9 10 11 12 13 |
# File 'lib/validb/tasker.rb', line 9 def run load_models_and_prepare_logger output_model_table_record_count validate_database_records end |