Module: Crystalball::MapGenerator::BaseStrategy
- Included in:
- AllocatedObjectsStrategy, CoverageStrategy, DescribedClassStrategy, FactoryBotStrategy, ParserStrategy, Rails::MapGenerator::ActionViewStrategy, Rails::MapGenerator::I18nStrategy
- Defined in:
- lib/crystalball/map_generator/base_strategy.rb
Overview
Map generator strategy interface
Instance Method Summary collapse
- #after_register ⇒ Object
- #after_start ⇒ Object
- #before_finalize ⇒ Object
-
#call(_example_map, _example) ⇒ Object
Each strategy must implement #call augmenting the used_files list and yielding back the ExampleGroupMap.
Instance Method Details
#after_register ⇒ Object
7 |
# File 'lib/crystalball/map_generator/base_strategy.rb', line 7 def after_register; end |
#after_start ⇒ Object
9 |
# File 'lib/crystalball/map_generator/base_strategy.rb', line 9 def after_start; end |
#before_finalize ⇒ Object
11 |
# File 'lib/crystalball/map_generator/base_strategy.rb', line 11 def before_finalize; end |
#call(_example_map, _example) ⇒ Object
Each strategy must implement #call augmenting the used_files list and yielding back the ExampleGroupMap.
17 18 19 |
# File 'lib/crystalball/map_generator/base_strategy.rb', line 17 def call(_example_map, _example) raise NotImplementedError end |