16 17 18 19
# File 'lib/mr2cbz/task.rb', line 16 def get(manga, from, to=from) m = Manga.new(manga) m.download(from.to_i, to.to_i, options[:keep_temp]) end
7 8 9
# File 'lib/mr2cbz/task.rb', line 7 def list Manga.list { |title, completed| puts "#{title} #{'[completed]' if completed}" } end