Method: Pik::Run#command
- Defined in:
- lib/pik/commands/run_command.rb
#command(cmd = 'CALL') ⇒ Object
24 25 26 27 |
# File 'lib/pik/commands/run_command.rb', line 24 def command(cmd='CALL') args = @args.map{|a| a.sub(/.*\s.*/m, '"\&"')}.join(' ') "#{cmd} #{args}" end |