class SMF::Event

Attributes

offset[RW]

Public Class Methods

new(offset) click to toggle source
# File lib/smf.rb, line 274
def initialize(offset)
  # offset:0/oo
  @offset = offset
end

Public Instance Methods

<=>(other) click to toggle source
# File lib/smf.rb, line 281
def <=>(other) self.offset <=> other.offset end
==(other) click to toggle source
# File lib/smf.rb, line 286
def == (other)
  self.class == other.class &&
    offset == other.offset
end
eql?(other) click to toggle source
# File lib/smf.rb, line 284
def eql? (other) self == other end
hash() click to toggle source
# File lib/smf.rb, line 283
def hash() @offset.hash end