Project

General

Profile

Bug #12313 ยป doc-small-code-sample-fix.patch

stomar (Marcus Stollsteimer), 04/23/2016 03:55 PM

View differences:

encoding.c
* optionally, aliases:
*
* Encoding::ISO_8859_1.name
* #=> #<Encoding:ISO-8859-1>
* #=> "ISO-8859-1"
*
* Encoding::ISO_8859_1.names
* #=> ["ISO-8859-1", "ISO8859-1"]
ext/bigdecimal/bigdecimal.c
*
* Values may be coerced to perform the comparison:
*
* BigDecimal.new('1.0') == 1.0 -> true
* BigDecimal.new('1.0') == 1.0 #=> true
*/
static VALUE
BigDecimal_eq(VALUE self, VALUE r)
    (1-1/1)