Class: Nbuild::NCoverCmd
Instance Method Summary collapse
- #command ⇒ Object
-
#initialize(params = {}) ⇒ NCoverCmd
constructor
A new instance of NCoverCmd.
Methods inherited from Cmd
Constructor Details
#initialize(params = {}) ⇒ NCoverCmd
Returns a new instance of NCoverCmd.
5 6 7 8 |
# File 'lib/nbuild/ncover_cmd.rb', line 5 def initialize params={} @path = ENV['NCOVER_HOME'] || 'C:\Program Files\NCover' @params = params end |
Instance Method Details
#command ⇒ Object
10 11 12 |
# File 'lib/nbuild/ncover_cmd.rb', line 10 def command "\"#{@path}\\ncover.console.exe\" //h CoverageReport //pm vstesthost.exe #{@params[:cmd].command}" end |