Class: Picobox::Utils::Shell
- Inherits:
-
Object
- Object
- Picobox::Utils::Shell
- Defined in:
- lib/picobox/utils/shell.rb
Instance Method Summary collapse
-
#initialize(os) ⇒ Shell
constructor
A new instance of Shell.
- #reload ⇒ Object
Constructor Details
#initialize(os) ⇒ Shell
Returns a new instance of Shell.
4 5 6 |
# File 'lib/picobox/utils/shell.rb', line 4 def initialize(os) @os = os end |
Instance Method Details
#reload ⇒ Object
9 10 11 12 |
# File 'lib/picobox/utils/shell.rb', line 9 def reload # hack to load newly set aliases into shell os.reload_shell end |