Method: Scmd::CommandSpy#start
- Defined in:
- lib/scmd/command_spy.rb
#start(input = nil) ⇒ Object
46 47 48 49 50 |
# File 'lib/scmd/command_spy.rb', line 46 def start(input = nil) @start_calls.push(InputCall.new(input)) Scmd.calls.push(Scmd::Call.new(self, input)) if ENV['SCMD_TEST_MODE'] @running = true end |