1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode): fix typo.

Fixes GH-343. Patch by @jgarber.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
charliesome 2013-06-26 14:54:36 +00:00
parent e5178a2550
commit 685f91236c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Jun 26 23:53:00 2013 Charlie Somerville <charliesome@ruby-lang.org>
* 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@ruby-lang.org>
* enumerator.c (rb_enumeratorize_with_size): use strict definition

View file

@ -2598,7 +2598,7 @@ BigDecimal_save_exception_mode(VALUE self)
*
* 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