Class: ShellTastic::Command
- Inherits:
-
Object
- Object
- ShellTastic::Command
- Defined in:
- lib/shelltastic.rb
Class Method Summary collapse
-
.run(*command) ⇒ Array
run is the entry point to api.
Class Method Details
.run(*command) ⇒ Array
run is the entry point to api
19 20 21 |
# File 'lib/shelltastic.rb', line 19 def run(*command) command.flatten.map { |cmd| ShellTastic::IO.popen(cmd, ShellTastic::Timer.new) } end |