Bug #7305

BigDecimal documentation

Added by Vincent Batts over 2 years ago. Updated over 2 years ago.

[ruby-core:49047]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
ruby -v:ruby 2.0.0dev (2012-11-06 trunk 37483) [x86_64-linux] Backport:

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.

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

Associated revisions

Revision 37580
Added by Zachary Scott over 2 years ago

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

Revision 37580
Added by Zachary Scott over 2 years ago

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

History

#1 Updated by Marc-Andre Lafortune over 2 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.

#2 Updated by Zachary Scott over 2 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 [Bug #7305]

#3 Updated by Zachary Scott over 2 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

Also available in: Atom PDF