Class: Rbish::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/rbish/shell.rb

Class Method Summary collapse

Class Method Details

.run(command) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/rbish/shell.rb', line 3

def self.run(command)
  # TODO: make it better, by using one of the libraries below:
  #   - open3
  #   - systemu
  #   - mixlib-shellout
  puts `#{command}`
end