Project

General

Profile

Actions

Bug #2685

closed

Wrong call sequence example for RDoc of method flo_minus in numeric.c

Added by redstun (red stun) over 14 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
trunk revision 26468
Backport:
[ruby-core:27951]

Description

=begin
Seems a copy paste issue.
The attached patch itself says it all,

Index: numeric.c

--- numeric.c (revision 26468)
+++ numeric.c (working copy)
@@ -637,7 +637,7 @@

/*

  • call-seq:
    • float + other -> float
    • float - other -> float
    • Returns a new float which is the difference of float
    • and other.
      =end

Files

numeric_c-flo_minus-doc.patch (349 Bytes) numeric_c-flo_minus-doc.patch redstun (red stun), 01/29/2010 08:35 PM
Actions

Also available in: Atom PDF

Like0
Like0