Class: HintMe::Cheatsheet::Printer
- Inherits:
-
Object
- Object
- HintMe::Cheatsheet::Printer
- Defined in:
- lib/hintme/cheatsheet/printer.rb
Overview
prints a cheatsheet to the console
Instance Method Summary collapse
-
#print(cheatsheet) ⇒ Object
prints the content of a cheatsheet on the console.
Instance Method Details
#print(cheatsheet) ⇒ Object
prints the content of a cheatsheet on the console
13 14 15 |
# File 'lib/hintme/cheatsheet/printer.rb', line 13 def print(cheatsheet) puts ::TTY::Markdown.parse(cheatsheet) end |