class TSparser::EITEventList

Public Class Methods

new(binary) click to toggle source
# File lib/definition/event_list.rb, line 5
def initialize(binary)
  @events = []
  while binary.readable?
    @events << EITEvent.new(binary)
  end
end

Public Instance Methods

each(&block) click to toggle source
# File lib/definition/event_list.rb, line 12
def each(&block)
  @events.each(&block)
end