Module: Autowow::Executor
Defined Under Namespace
Classes: Pretty, PrettyWithOutput, RunWrapper
Instance Method Summary
collapse
Instance Method Details
#pretty ⇒ Object
42
43
44
|
# File 'lib/autowow/executor.rb', line 42
def pretty
@pretty ||= RunWrapper.new(TTY::Command.new(pty: true, printer: Pretty))
end
|
#pretty_with_output ⇒ Object
46
47
48
|
# File 'lib/autowow/executor.rb', line 46
def pretty_with_output
@pretty_with_output ||= RunWrapper.new(TTY::Command.new(pty: true, printer: PrettyWithOutput), fail_silently: true)
end
|
#quiet ⇒ Object
50
51
52
|
# File 'lib/autowow/executor.rb', line 50
def quiet
@quiet ||= RunWrapper.new(TTY::Command.new(pty: true, printer: :null))
end
|