Class: Kaisoku::Evaluator::Replay
- Inherits:
-
Object
- Object
- Kaisoku::Evaluator::Replay
- Defined in:
- lib/kaisoku/evaluator/replay.rb
Defined Under Namespace
Classes: Result
Instance Method Summary collapse
-
#initialize(commits:, branch: 'HEAD', full_command: 'ruby -Ilib exe/kaisoku run --all --reporter json', selected_command: 'ruby -Ilib exe/kaisoku run --reporter json') ⇒ Replay
constructor
A new instance of Replay.
- #report ⇒ Object
- #run ⇒ Object
Constructor Details
#initialize(commits:, branch: 'HEAD', full_command: 'ruby -Ilib exe/kaisoku run --all --reporter json', selected_command: 'ruby -Ilib exe/kaisoku run --reporter json') ⇒ Replay
Returns a new instance of Replay.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/kaisoku/evaluator/replay.rb', line 27 def initialize( commits:, branch: 'HEAD', full_command: 'ruby -Ilib exe/kaisoku run --all --reporter json', selected_command: 'ruby -Ilib exe/kaisoku run --reporter json' ) @commits = commits.to_i @branch = branch @full_command = full_command @selected_command = selected_command end |