==

flt == obj รข true or false
Instance Public methods

Returns true only if obj has the same value as flt. Contrast this with Float#eql?, which requires obj to be a Float. The result of NaN == NaN is undefined, so the implementation-dependent value is returned.

1.0 == 1   #=> true
doc_ruby_on_rails
2015-04-07 01:43:28
Comments
Leave a Comment

Please login to continue.