Module: Autowow::Executor

Includes:
ReflectionUtils::CreateModuleFunctions
Included in:
Features::Gem, Features::Os, Features::Rbenv, Features::Vcs
Defined in:
lib/autowow/executor.rb

Defined Under Namespace

Classes: Pretty, PrettyWithOutput, RunWrapper

Instance Method Summary collapse

Instance Method Details

#prettyObject



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_outputObject



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

#quietObject



50
51
52
# File 'lib/autowow/executor.rb', line 50

def quiet
  @quiet ||= RunWrapper.new(TTY::Command.new(pty: true, printer: :null))
end