Module: Halfshell
- Defined in:
- lib/halfshell.rb,
lib/halfshell/typist.rb,
lib/halfshell/version.rb,
lib/halfshell/terminal.rb
Defined Under Namespace
Classes: Error, Terminal, Typist
Constant Summary
collapse
- VERSION =
"0.1.3"
Class Method Summary
collapse
Class Method Details
.<<(command) ⇒ Object
12
13
14
15
|
# File 'lib/halfshell.rb', line 12
def Halfshell.<<(command)
return ($hs = new) if :global == command
new << command
end
|
.new ⇒ Object
8
9
10
|
# File 'lib/halfshell.rb', line 8
def Halfshell.new
Typist.new(terminal: Terminal.default)
end
|