--- !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 ==), and has the same #exclude_end? setting as <i>rng</t>." - !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#== is_singleton: false name: == params: | rng == obj => true or false visibility: public