[前][次][番号順一覧][スレッド一覧]

ruby-changes:29611

From: charliesome <ko1@a...>
Date: Wed, 26 Jun 2013 23:54:48 +0900 (JST)
Subject: [ruby-changes:29611] charliesome:r41663 (trunk): * ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode): fix typo.

charliesome	2013-06-26 23:54:36 +0900 (Wed, 26 Jun 2013)

  New Revision: 41663

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41663

  Log:
    * ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode): fix typo.
      Fixes GH-343. Patch by @jgarber.

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41662)
+++ ChangeLog	(revision 41663)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Jun 26 23:53:00 2013  Charlie Somerville  <charliesome@r...>
+
+	* ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode): fix typo.
+	Fixes GH-343. Patch by @jgarber.
+
 Wed Jun 26 23:22:21 2013  Nobuyoshi Nakada  <nobu@r...>
 
 	* enumerator.c (rb_enumeratorize_with_size): use strict definition
Index: ext/bigdecimal/bigdecimal.c
===================================================================
--- ext/bigdecimal/bigdecimal.c	(revision 41662)
+++ ext/bigdecimal/bigdecimal.c	(revision 41663)
@@ -2598,7 +2598,7 @@ BigDecimal_save_exception_mode(VALUE sel https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L2598
  *
  * Execute the provided block, but preserve the rounding mode
  *
- *     BigDecimal.save_exception_mode do
+ *     BigDecimal.save_rounding_mode do
  *       BigDecimal.mode(BigDecimal::ROUND_MODE, :up)
  *       puts BigDecimal.mode(BigDecimal::ROUND_MODE)
  *     end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]