Class: Jets::Commands::Markdown::Shell

Inherits:
Thor::Shell::Basic show all
Defined in:
lib/jets/commands/markdown/shell.rb

Overview

Override stdout as an @io object so we can grab the text written normally outputted to the shell.

Instance Method Summary collapse

Methods inherited from Thor::Shell::Basic

#print_wrapped

Instance Method Details

#stdoutObject



7
8
9
# File 'lib/jets/commands/markdown/shell.rb', line 7

def stdout
  @io ||= StringIO.new
end