Module: Autowow::Executor
Defined Under Namespace
Classes: Pretty, PrettyWithOutput, RunWrapper
Instance Method Summary
collapse
Instance Method Details
#pretty ⇒ Object
35
36
37
|
# File 'lib/autowow/executor.rb', line 35
def pretty
@pretty ||= RunWrapper.new(TTY::Command.new(pty: true, printer: Pretty))
end
|
#pretty_with_output ⇒ Object
39
40
41
|
# File 'lib/autowow/executor.rb', line 39
def pretty_with_output
@pretty_with_output ||= RunWrapper.new(TTY::Command.new(pty: true, printer: PrettyWithOutput))
end
|
#quiet ⇒ Object
43
44
45
|
# File 'lib/autowow/executor.rb', line 43
def quiet
@quiet ||= RunWrapper.new(TTY::Command.new(pty: true, printer: :null))
end
|