class SMF::SMPTEOffset

Attributes

ff[RW]
fr[RW]
hr[RW]
mn[RW]
se[RW]
tc[RW]

Public Class Methods

new(offset, hr, mn, se, fr, ff, tc) click to toggle source
Calls superclass method SMF::Meta::new
# File lib/smf.rb, line 669
def initialize(offset, hr, mn, se, fr, ff, tc)
  # hr:0/23, mn:0/59, se:0/59, fr:0/29, ff:0/99, tc:24|25|29|30
  super(offset)
  @hr, @mn, @se, @fr, @ff, @tc = hr, mn, se, fr, ff, tc
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method SMF::Event#==
# File lib/smf.rb, line 677
def == (other)
  super &&
    hr == other.hr &&
    mn == other.mn &&
    se == other.se &&
    fr == other.fr &&
    ff == other.ff &&
    tc == other.tc
end