* 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:
parent
e5178a2550
commit
685f91236c
@ -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>
|
Wed Jun 26 23:22:21 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* enumerator.c (rb_enumeratorize_with_size): use strict definition
|
* enumerator.c (rb_enumeratorize_with_size): use strict definition
|
||||||
|
@ -2598,7 +2598,7 @@ BigDecimal_save_exception_mode(VALUE self)
|
|||||||
*
|
*
|
||||||
* Execute the provided block, but preserve the rounding mode
|
* 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)
|
* BigDecimal.mode(BigDecimal::ROUND_MODE, :up)
|
||||||
* puts BigDecimal.mode(BigDecimal::ROUND_MODE)
|
* puts BigDecimal.mode(BigDecimal::ROUND_MODE)
|
||||||
* end
|
* end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user