Class: Manga::Tools::Formatter
- Inherits:
-
Object
- Object
- Manga::Tools::Formatter
- Defined in:
- lib/manga/tools/formatter.rb
Overview
Formatter class
Class Method Summary collapse
Class Method Details
.display(command, *results) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/manga/tools/formatter.rb', line 8 def display(command, *results) case command when :search display_search(results) when :follow display_follow(results) when :follow_list display_follow_list(results) end end |