Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
using IO objects?
warhero
7/22/2007 12:07:00 AM
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
--
Posted via
http://www.ruby-...
.
2 Answers
Phlip
7/22/2007 12:31:00 AM
0
Aaron Smith wrote:
> 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
Could you post some code and/or output? Your jargon is impenetrable.
--
Phlip
http://www.oreilly.com/catalog/9780...
"Test Driven Ajax (on Rails)"
assert_xpath, assert_javascript, & assert_ajax
Ben Bleything
7/22/2007 1:31:00 AM
0
On Sun, Jul 22, 2007, Aaron Smith wrote:
> 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/class...
Good luck!
Ben
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
using IO objects?
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