Class: Mutant::Reporter::Trace
- Inherits:
-
Object
- Object
- Mutant::Reporter::Trace
- Includes:
- Adamantium::Mutable
- Defined in:
- lib/mutant/reporter/trace.rb
Overview
Reporter to trace report calls, used as a spec adapter
Constant Summary collapse
- REPORT_DELAY =
0.0
Class Method Summary collapse
-
.new ⇒ Trace
private
New trace reporter.
Instance Method Summary collapse
-
#delay ⇒ Float
private
Report delay.
Class Method Details
.new ⇒ Trace
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
New trace reporter
12 13 14 |
# File 'lib/mutant/reporter/trace.rb', line 12 def self.new super(Hash[anima.attribute_names.map { |name| [name, []] }]) end |
Instance Method Details
#delay ⇒ Float
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Report delay
30 31 32 |
# File 'lib/mutant/reporter/trace.rb', line 30 def delay REPORT_DELAY end |