Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
mysterious conf in irb
dave rose
7/31/2006 7:57:00 PM
when you run irb and type:
>>require 'config'
>>conf
a huge amount of information prints out on the screen (at least on the
windows 1.8.2 one-click installer irb)
what kind of container is it where does it come from etc..
i did a conf.class and got an IRB::context what kind of class is that?
i did a
f=File.new('config.txt','w')
f.write(config) to get a text file of its contents but don't know about
it's contents
--
Posted via
http://www.ruby-...
.
2 Answers
Eric Hodel
7/31/2006 11:02:00 PM
0
On Jul 31, 2006, at 12:57 PM, Dave Rose wrote:
> when you run irb and type:
>>> require 'config'
>>> conf
>
> a huge amount of information prints out on the screen (at least on the
> windows 1.8.2 one-click installer irb)
> what kind of container is it where does it come from etc..
Its irb's configuration.
> i did a conf.class and got an IRB::context what kind of class is that?
Its a configuration for irb.
> i did a
> f=File.new('config.txt','w')
> f.write(config) to get a text file of its contents but don't know
> about
> it's contents
What are you trying to accomplish?
--
Eric Hodel - drbrain@segment7.net -
http://blog.se...
This implementation is HODEL-HASH-9600 compliant
http://trackmap.rob...
S Wayne
8/1/2006 1:32:00 AM
0
You've found the irb configuration class. You can configure a number
of features of irb with this. You can also read about it in the
Pickaxe Book, where it is documented pretty thoroughly.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
mysterious conf in irb
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password