Class: MacSetup::Shell
- Inherits:
-
Object
- Object
- MacSetup::Shell
- Defined in:
- lib/mac_setup/shell.rb
Class Method Summary collapse
Class Method Details
.ask(question) ⇒ Object
7 8 9 10 |
# File 'lib/mac_setup/shell.rb', line 7 def self.ask(question) puts question gets.strip end |
.run(command) ⇒ Object
3 4 5 |
# File 'lib/mac_setup/shell.rb', line 3 def self.run(command) `#{command}` end |