Class: MyManga::CLI::Commands::Remove
- Inherits:
-
MyManga::CLI::Command
- Object
- Hanami::CLI::Command
- MyManga::CLI::Command
- MyManga::CLI::Commands::Remove
- Defined in:
- lib/my_manga/remove.rb
Overview
See desc
Instance Method Summary collapse
Methods inherited from MyManga::CLI::Command
Instance Method Details
permalink #call(name:) ⇒ Object
[View source]
11 12 13 14 15 |
# File 'lib/my_manga/remove.rb', line 11 def call(name:) return unless MyManga.remove(name) puts %("#{name}" removed from your library!) end |