Class: MyManga::CLI::Commands::List
- Inherits:
-
MyManga::CLI::Command
- Object
- Hanami::CLI::Command
- MyManga::CLI::Command
- MyManga::CLI::Commands::List
- Defined in:
- lib/my_manga/list.rb
Overview
See desc
Instance Method Summary collapse
Methods inherited from MyManga::CLI::Command
Instance Method Details
#call(names: nil) ⇒ Object
11 12 13 14 |
# File 'lib/my_manga/list.rb', line 11 def call(names: nil) names = manga_names(names) names.one? ? list_detail(names.first) : list(names) end |