Project

General

Profile

Actions

Bug #7305

closed

BigDecimal documentation

Added by vbatts (Vincent Batts) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-11-06 trunk 37483) [x86_64-linux]
Backport:
[ruby-core:49047]

Description

adding the last bits of documentation, with a few examples.

Also, should #initialize_copy not be a singleton method? It's a private instance method, but nothing uses it.


Files

ruby_bigdecimal_docs.patch (3.84 KB) ruby_bigdecimal_docs.patch vbatts (Vincent Batts), 11/08/2012 01:53 AM

Updated by marcandre (Marc-Andre Lafortune) over 11 years ago

Also, should #initialize_copy not be a singleton method? It's a private instance method, but nothing uses it.

#initialize_copy is used by dup/clone. It's always a private instance method.

Actions #2

Updated by zzak (zzak _) over 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r37580.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/bigdecimal/bigdecimal.c:
    Documentation for BigDecimal
    Based on a patch from Vincent Batts
    [ruby-core:49047] [Bug #7305]

Updated by zzak (zzak _) over 11 years ago

vbatts: I've added your patch for JSON as a pull request, as suggested by naruse

https://github.com/flori/json/pull/150

Thank you

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0