summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-14 14:40:53 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-14 14:40:53 +0000
commit6cbe261626f91e8dd9a4c046df69b66884aebeeb (patch)
treec64bdb147637eb5698abf3d5368b29d821486c8b /ext
parentc3c06ff78c956f6546f1769259328b77c062c444 (diff)
* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] remove example of
Rational#to_d without argument. [Bug #8958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/bigdecimal/lib/bigdecimal/util.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/bigdecimal/lib/bigdecimal/util.rb b/ext/bigdecimal/lib/bigdecimal/util.rb
index a6c585d59e1..82c82c8e1ee 100644
--- a/ext/bigdecimal/lib/bigdecimal/util.rb
+++ b/ext/bigdecimal/lib/bigdecimal/util.rb
@@ -115,8 +115,6 @@ class Rational < Numeric
#
# r = (22/7.0).to_r
# # => (7077085128725065/2251799813685248)
- # r.to_d
- # # => #<BigDecimal:1a52bd8,'0.3142857142 8571427937 0154144999 105E1',45(63)>
# r.to_d(3)
# # => #<BigDecimal:1a44d08,'0.314E1',18(36)>
def to_d(precision)