using IO objects?

A

Aaron Smith

hey.. uh.. slightly sumped with this. I'm using RSCM for some SVN stuff,
and when I do a diff i get a IO object back.. Not sure exactly how to
get what's in it.. any ideas? thanks all
 
B

Ben Bleything

hey.. uh.. slightly sumped with this. I'm using RSCM for some SVN stuff,
and when I do a diff i get a IO object back.. Not sure exactly how to
get what's in it.. any ideas? thanks all

You should be able to call #read on your IO object to slurp the entire
contents. IO is standard library, so you can find docs in all the usual
places. I'd start here:

http://ruby-doc.org/core/classes/IO.html

Good luck!
Ben
 

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

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top