using IO objects?

Discussion in 'Ruby' started by Aaron Smith, Jul 22, 2007.

  1. Aaron Smith

    Aaron Smith Guest

    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-forum.com/.
     
    Aaron Smith, Jul 22, 2007
    #1
    1. Advertising

  2. 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/classes/IO.html

    Good luck!
    Ben
     
    Ben Bleything, Jul 22, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bigbinc
    Replies:
    3
    Views:
    407
    Michael Borgwardt
    Nov 18, 2003
  2. Simon Elliott

    Inheritance of objects within objects

    Simon Elliott, Dec 10, 2004, in forum: C++
    Replies:
    2
    Views:
    344
    Simon Elliott
    Dec 10, 2004
  3. =?Utf-8?B?c3RldmVuIHNjYWlmZQ==?=

    form objects into class objects

    =?Utf-8?B?c3RldmVuIHNjYWlmZQ==?=, Jul 5, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    443
    =?Utf-8?B?c3RldmVuIHNjYWlmZQ==?=
    Jul 6, 2006
  4. Replies:
    4
    Views:
    608
    Joseph Kesselman
    Aug 10, 2006
  5. 7stud
    Replies:
    11
    Views:
    711
    Dennis Lee Bieber
    Mar 20, 2007
Loading...

Share This Page