Class: DailyMenu::MarkdownFormatter
- Inherits:
-
Object
- Object
- DailyMenu::MarkdownFormatter
- Defined in:
- lib/daily_menu/cli.rb
Class Method Summary collapse
Class Method Details
.print(restaurant, entry) ⇒ Object
14 15 16 17 18 19 20 21 22 23 |
# File 'lib/daily_menu/cli.rb', line 14 def self.print(restaurant, entry) puts "# #{restaurant.name}" puts '' puts entry.content puts '' puts "*#{entry.time}*" puts '' puts '- - -' puts '' end |