summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-26 14:54:36 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-26 14:54:36 +0000
commit685f91236c383eddaa90fa43193d9103214c81a7 (patch)
tree84c272a6b0b5741edef8e4211781bd424ac36162 /ext
parente5178a25501fc71c3a1d418f0be07776ebbfcdaf (diff)
downloadruby-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
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/bigdecimal.c2
1 files changed, 1 insertions, 1 deletions
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