class Mangdown::MangaBat::MangaList

A manga list web page

Public Instance Methods

each(*args, &block) click to toggle source
# File lib/mangdown/adapter/manga_bat.rb, line 41
def each(*args, &block)
  to_enum.each(*args, &block)
end
to_enum() click to toggle source
# File lib/mangdown/adapter/manga_bat.rb, line 45
def to_enum
  Enumerator.new do |yielder|
    page = self

    while page
      page.manga.each { |manga| yielder << manga }

      page = page.next_page
    end
  end
end