Class: Picobox::Utils::Shell

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

Instance Method Summary collapse

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

#reloadObject



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