Class: Lono::Markdown::Shell
- Inherits:
-
Thor::Shell::Basic
- Object
- Thor::Shell::Basic
- Lono::Markdown::Shell
- Defined in:
- lib/lono/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
Instance Method Details
#stdout ⇒ Object
7 8 9 |
# File 'lib/lono/markdown/shell.rb', line 7 def stdout @io ||= StringIO.new end |