Module: Halfshell

Defined in:
lib/halfshell.rb,
lib/halfshell/typist.rb,
lib/halfshell/terminal.rb

Defined Under Namespace

Classes: Error, Terminal, Typist

Class Method Summary collapse

Class Method Details

.<<(command) ⇒ Object



12
13
14
# File 'lib/halfshell.rb', line 12

def Halfshell.<<(command)
  new << command
end

.newObject



8
9
10
# File 'lib/halfshell.rb', line 8

def Halfshell.new
  Typist.new(terminal: Terminal.default)
end