Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: 2nd try at date/format.rb & pty.c: msg#00011

Subject: Re: 2nd try at date/format.rb & pty.c
On Aug 19, 2006, at 8:17 AM, Mat Schaffer wrote:
On Aug 18, 2006, at 8:39 PM, Eric Hodel wrote:

Also, call-seq is missing.

From pty? I don't even see it listed in the docs in the first place. Where is it?

$ ri19 PTY.getpty | head -n3
------------------------------------------------------------- PTY#getpty
     getpty(...)
------------------------------------------------------------------------
$ ri19 Array#delete | head -n4
----------------------------------------------------------- Array#delete
     array.delete(obj)            -> obj or nil
     array.delete(obj) { block }  -> obj or nil
------------------------------------------------------------------------

which in array.c is:

/*
 *  call-seq:
 *     array.delete(obj)            -> obj or nil
 *     array.delete(obj) { block }  -> obj or nil
 * ...

Okay, if I posted a list of guidelines for people trying to help out on this, would someone please post it? It is really discouraging to try this twice and get shot down both times. It's not like I'm a newb to programming/commenting, there's just no guidelines to follow other than "give it a whirl" on the stdlib intro pages. So I'm stuck wasting everyone's time and mine with this trial and error.
-Mat

That would be cool, I think it should replace the 'give it a whirl' comment. I only check stuff in to ruby, I don't have access to the ruby-doc.org.

--
Eric Hodel - drbrain@xxxxxxxxxxxx - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com






<Prev in Thread] Current Thread [Next in Thread>