[#3228] Core support for Gems, and namespace — "Luke A. Kanies" <luke@...>

Hi all,

21 messages 2004/07/27
[#3230] Re: Core support for Gems, and namespace — Austin Ziegler <halostatue@...> 2004/07/27

On Tue, 27 Jul 2004 11:39:08 +0900, Luke A. Kanies <luke@madstop.com> wrote:

[#3234] Re: Core support for Gems, and namespace — "Luke A. Kanies" <luke@...> 2004/07/27

On Tue, 27 Jul 2004, Austin Ziegler wrote:

[#3238] Re: Core support for Gems, and namespace — Austin Ziegler <halostatue@...> 2004/07/27

On Wed, 28 Jul 2004 00:14:29 +0900, Luke A. Kanies <luke@madstop.com> wrote:

[doc-patch] Wrong rdoc formatting in {array,pack}.c

From: Johan Holmberg <holmberg@...>
Date: 2004-07-05 17:57:24 UTC
List: ruby-core #3136
Hi !

Here is another small documentation patch.
The documentation for the methods Array#values_at and Array#pack
didn't follow rdoc's expectations, resulting in weird formatting
(both ri and html).

/Johan Holmberg

Index: array.c
===================================================================
RCS file: /src/ruby/array.c,v
retrieving revision 1.150
diff -u -r1.150 array.c
--- array.c	16 Jun 2004 12:52:59 -0000	1.150
+++ array.c	5 Jul 2004 17:48:52 -0000
@@ -1836,6 +1836,7 @@
 /*
  * call-seq:
  *   array.values_at(selector,... )  => an_array
+ *
  *   Returns an array containing the elements in
  *   _self_ corresponding to the given selector(s). The selectors
  *   may be either integer indices or ranges.
Index: pack.c
===================================================================
RCS file: /src/ruby/pack.c,v
retrieving revision 1.70
diff -u -r1.70 pack.c
--- pack.c	13 May 2004 02:04:18 -0000	1.70
+++ pack.c	5 Jul 2004 17:48:55 -0000
@@ -395,7 +395,7 @@
  *     a.pack("a3a3a3")   #=> "a\000\000b\000\000c\000\000"
  *     n.pack("ccc")      #=> "ABC"
  *
- * Directives for +pack+.
+ *  Directives for +pack+.
  *
  *   Directive    Meaning
  *   ---------------------------------------------------------------

In This Thread

Prev Next