Class: CliMarkdown::Shell

Inherits:
Thor::Shell::Basic
  • Object
show all
Defined in:
lib/cli_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

Instance Method Details

#stdoutObject



7
8
9
# File 'lib/cli_markdown/shell.rb', line 7

def stdout
  @io ||= StringIO.new
end