Class: Range

Inherits:
Object
  • Object
show all
Defined in:
lib/flvedit/flv/timestamp.rb

Overview

:nodoc:

Direct Known Subclasses

FLV::TimestampRange

Instance Method Summary collapse

Instance Method Details

#==(r) ⇒ Object

Override built-in == because of bug in Ruby 1.8 & 1.9, see redmine.ruby-lang.org/issues/show/1165



121
122
123
# File 'lib/flvedit/flv/timestamp.rb', line 121

def ==(r) # Override built-in == because of bug in Ruby 1.8 & 1.9, see http://redmine.ruby-lang.org/issues/show/1165
  self.begin == r.begin && self.end == r.end && self.exclude_end? == r.exclude_end?
end