Class: Organo::CLI::Commands::Anime::FindBrokenLinks

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/organo/commands/anime/anime_find_broken_links.rb

Instance Method Summary collapse

Instance Method Details

#callObject



11
12
13
14
# File 'lib/organo/commands/anime/anime_find_broken_links.rb', line 11

def call(*)
  broken_list = AnimeDatabase.instance.anime_find_broken_links
  puts broken_list.join(' ') unless broken_list.empty?
end