[DOC] Fix documentation for Numeric#eql?
+==+ does not format properly, so we should use <tt>==</tt> instead.
This commit is contained in:
parent
3d31e91496
commit
550a49c913
@ -1550,8 +1550,8 @@ rb_float_pow(VALUE x, VALUE y)
|
||||
* 1.eql?(Rational(1, 1)) # => false
|
||||
* 1.eql?(Complex(1, 0)) # => false
|
||||
*
|
||||
* \Method +eql?+ is different from +==+ in that +eql?+ requires matching types,
|
||||
* while +==+ does not.
|
||||
* \Method +eql?+ is different from <tt>==</tt> in that +eql?+ requires matching types,
|
||||
* while <tt>==</tt> does not.
|
||||
*
|
||||
*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user