diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-26 14:54:36 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-26 14:54:36 +0000 |
commit | 685f91236c383eddaa90fa43193d9103214c81a7 (patch) | |
tree | 84c272a6b0b5741edef8e4211781bd424ac36162 | |
parent | e5178a25501fc71c3a1d418f0be07776ebbfcdaf (diff) | |
download | ruby-685f91236c383eddaa90fa43193d9103214c81a7.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 87587f81a0..d1932e7213 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -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 |