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



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_outputObject



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

#quietObject



43
44
45
# File 'lib/autowow/executor.rb', line 43

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