Class: Helpers::Runner
- Inherits:
-
Object
- Object
- Helpers::Runner
- Defined in:
- lib/runner.rb
Class Method Summary collapse
Class Method Details
.runcmd(parts) ⇒ Object
5 6 7 8 |
# File 'lib/runner.rb', line 5 def runcmd parts output = IO.popen parts return output_lines output end |
.runcmd_old(command, title) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/runner.rb', line 10 def runcmd_old command, title puts "* #{title}" puts command system command puts end |