Flowdock
==(p1) public

Returns true only if obj is a Range, has equivalent beginning and end items (by comparing them with ==), and has the same #exclude_end? setting as <i>rng</t>.

  (0..2) == (0..2)            #=> true
  (0..2) == Range.new(0,2)    #=> true
  (0..2) == (0...2)           #=> false
Show source
Register or log in to add new notes.