Class: Fudge::Runner
- Inherits:
-
Object
- Object
- Fudge::Runner
- Defined in:
- lib/fudge/runner.rb
Overview
Executes the build
Instance Method Summary collapse
-
#initialize(description) ⇒ Runner
constructor
A new instance of Runner.
-
#run_build(which_build = 'default', options = {}) ⇒ Object
Run the specified build.
Constructor Details
#initialize(description) ⇒ Runner
Returns a new instance of Runner.
4 5 6 |
# File 'lib/fudge/runner.rb', line 4 def initialize(description) @description = description end |
Instance Method Details
#run_build(which_build = 'default', options = {}) ⇒ Object
Run the specified build
11 12 13 14 15 16 |
# File 'lib/fudge/runner.rb', line 11 def run_build(which_build='default', ={}) formatter = [:formatter] || Fudge::Formatters::Simple.new output_start(which_build, formatter) status = run(which_build, ) output_status(status, formatter) end |