[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Another possible irb enhancement

Nikolai Weibull

5/10/2005 1:52:00 PM

It would be sweet if the location of the .irbrc file was configurable
through an environment variable, by adding the following line to
IRB.run_config:

rcs.push File.expand_path(ENV["IRBRC"]) if ENV.key?("IRBRC")

perhaps after all the other rcs, or something similar. Another
possiblility, if both aren't viable, is to have a command-line option
for loading an rc file. Thanks,
nikolai

--
Nikolai Weibull: now available free of charge at http:/...!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}