Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
creating a StringIO object
Venkat Bagam
10/3/2007 10:37:00 AM
Hi all, can any body tell me how to create a StringIO object from an
existing string object.
my code str = StringIO.new results an error saying that
"uninitialized constant StringIO(NameError)"
What i sthe problem with the above code
--
Posted via
http://www.ruby-...
.
1 Answer
lrlebron@gmail.com
10/4/2007 6:49:00 PM
0
On Oct 3, 5:37 am, Venkat Bagam <bagam_ven...@hotmail.com> wrote:
> Hi all, can any body tell me how to create a StringIO object from an
> existing string object.
>
> my code str = StringIO.new results an error saying that
> "uninitialized constant StringIO(NameError)"
>
> What i sthe problem with the above code
> --
> Posted via
http://www.ruby-...
.
You have to require the stringio library
require 'stringio'
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
creating a StringIO object
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