class WahWah::Ogg::Pages
Public Class Methods
new(file_io)
click to toggle source
# File lib/wahwah/ogg/pages.rb, line 8 def initialize(file_io) @file_io = file_io end
Public Instance Methods
each() { |page| ... }
click to toggle source
# File lib/wahwah/ogg/pages.rb, line 12 def each @file_io.rewind until @file_io.eof? page = Ogg::Page.new(@file_io) break unless page.valid? yield page end end