Class: PolishGeeks::DevTools::Shell
- Inherits:
-
Object
- Object
- PolishGeeks::DevTools::Shell
- Defined in:
- lib/polish_geeks/dev_tools/shell.rb
Overview
Class wrapping shell commands executing
Instance Method Summary collapse
-
#execute(command) ⇒ String
Executes a given command in a system shell and returns its output.
Instance Method Details
#execute(command) ⇒ String
Executes a given command in a system shell and returns its output
11 12 13 |
# File 'lib/polish_geeks/dev_tools/shell.rb', line 11 def execute(command) `#{command}` end |