mysterious conf in irb

D

Dave Rose

when you run irb and type:
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
 
E

Eric Hodel

when you run irb and type:

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?
 
N

N Okia

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top