--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if num and numeric are the same type and have equal values. - !ruby/struct:SM::Flow::VERB body: " 1 == 1.0 #=> true\n 1.eql?(1.0) #=> false\n (1.0).eql?(1.0) #=> true\n" full_name: Numeric#eql? is_singleton: false name: eql? params: | num.eql?(numeric) => true or false visibility: public