Project

General

Profile

Bug #13195

bigdecimal/util.rb: [DOC] Fix documentation errors

Added by stomar (Marcus Stollsteimer) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
[ruby-core:79438]

Description

bigdecimal/util.rb: [DOC] Fix documentation errors

* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] fix errors
  in rdoc for 'bigdecimal/util'.

Fix two errors in the docs: it's bigdecimal/util that does
extend the native classes with #to_d, not BigDecimal;
also, BigDecimal is extended with #to_d and #to_digits,
not the Numeric class.

Files

doc_bigdecimal_util.patch (3.01 KB) doc_bigdecimal_util.patch stomar (Marcus Stollsteimer), 02/05/2017 03:34 PM

History

Updated by stomar (Marcus Stollsteimer) over 2 years ago

I guess the GitHub repo is now the correct place for issues concerning bigdecimal...? Or isn't it?

Anyhow, I opened a PR there, see https://github.com/ruby/bigdecimal/pull/57.

Update: merged upstream

Updated by mrkn (Kenta Murata) over 2 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF