Class: RoutesCoverage::Adapters::SimpleCov
- Inherits:
-
Object
- Object
- RoutesCoverage::Adapters::SimpleCov
- Defined in:
- lib/routes_coverage/adapters/simplecov.rb
Class Method Summary collapse
Class Method Details
.use ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/routes_coverage/adapters/simplecov.rb', line 6 def self.use RoutesCoverage.reset! prev_block = ::SimpleCov.at_exit ::SimpleCov.at_exit do RoutesCoverage.perform_report prev_block.call end end |