Project

General

Profile

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

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

View differences:

encoding.c
1718 1718
 * optionally, aliases:
1719 1719
 *
1720 1720
 *   Encoding::ISO_8859_1.name
1721
 *   #=> #<Encoding:ISO-8859-1>
1721
 *   #=> "ISO-8859-1"
1722 1722
 *
1723 1723
 *   Encoding::ISO_8859_1.names
1724 1724
 *   #=> ["ISO-8859-1", "ISO8859-1"]
ext/bigdecimal/bigdecimal.c
1103 1103
 *
1104 1104
 * Values may be coerced to perform the comparison:
1105 1105
 *
1106
 *   BigDecimal.new('1.0') == 1.0  -> true
1106
 *   BigDecimal.new('1.0') == 1.0  #=> true
1107 1107
 */
1108 1108
static VALUE
1109 1109
BigDecimal_eq(VALUE self, VALUE r)