--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Returns true only if obj is a Range, has equivalent beginning and end items (by comparing them with #eql?), and has the same #exclude_end? setting as rng." - !ruby/struct:SM::Flow::VERB body: " (0..2) == (0..2) #=> true\n (0..2) == Range.new(0,2) #=> true\n (0..2) == (0...2) #=> false\n" full_name: Range#eql? is_singleton: false name: eql? params: | rng.eql?(obj) => true or false visibility: public