Class: HintMe::Cheatsheet::Printer

Inherits:
Object
  • Object
show all
Defined in:
lib/hintme/cheatsheet/printer.rb

Overview

prints a cheatsheet to the console

Instance Method Summary collapse

Instance Method Details

prints the content of a cheatsheet on the console

Parameters:

  • cheatsheet (String)


13
14
15
# File 'lib/hintme/cheatsheet/printer.rb', line 13

def print(cheatsheet)
  puts ::TTY::Markdown.parse(cheatsheet)
end