summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/lib/bigdecimal/util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bigdecimal/lib/bigdecimal/util.rb')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb
index d32eaf561a..911fa6fe3a 100644
--- a/ext/bigdecimal/lib/bigdecimal/util.rb
+++ b/ext/bigdecimal/lib/bigdecimal/util.rb
@@ -83,7 +83,7 @@ class BigDecimal < Numeric
#
# require 'bigdecimal/util'
#
- # d = BigDecimal.new("3.14")
+ # d = BigDecimal("3.14")
# d.to_digits # => "3.14"
#
def to_digits
@@ -103,7 +103,7 @@ class BigDecimal < Numeric
#
# require 'bigdecimal/util'
#
- # d = BigDecimal.new("3.14")
+ # d = BigDecimal("3.14")
# d.to_d # => 0.314e1
#
def to_d