On Tuesday, March 8, 2005, 10:55:05 PM, Hugh wrote:
>> or leave it. Some kind of command-line Ruby reference would be sweet,
>> but I don't strongly believe that RI should be that tool (you know,
>> tools doing one thing well and all that).
> I don't see the significance of the separation: these things are as
> much part of ruby as Array or Hash.
Yeah, but where do you stop? RI is clearly aimed at documenting
classes and methods. If it's to go beyond that to include ARGV etc.,
then you need a new rationale for it. Arbitrarily adding things makes
it difficult to remember what's in there and what's not.
I'd say the right thing is to leave RI as it is, and look at Pickaxe
for other parts of Ruby.
Beyond that, I'd recommend getting the FAQ in good condition and
offering a command-line interface to that, viz.
$ rubyfaq ARGV
[shows all Q&A involving "ARGV"]
Gavin
|