Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
non-destructive option parser?
Kyle Schmitt
4/24/2008 9:52:00 PM
From playing with optionparser today, it appears to be a destructive
tokenizer, albeit a really cool one. I was just wondering if there is
some sort of non-destructive versions of it?
Thanks,
Kyle
2 Answers
Ken Bloom
4/25/2008 12:08:00 AM
0
On Thu, 24 Apr 2008 16:51:59 -0500, Kyle Schmitt wrote:
> From playing with optionparser today, it appears to be a destructive
> tokenizer, albeit a really cool one. I was just wondering if there is
> some sort of non-destructive versions of it?
>
> Thanks,
> Kyle
OptionParser#parse! is destructive, OptionParser#parse is nondestructive
--
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu...
Kyle Schmitt
4/25/2008 2:08:00 PM
0
I am so dense sometimes.
Thanks.
On Thu, Apr 24, 2008 at 7:10 PM, Ken Bloom <kbloom@gmail.com> wrote:
>
> On Thu, 24 Apr 2008 16:51:59 -0500, Kyle Schmitt wrote:
>
> > From playing with optionparser today, it appears to be a destructive
> > tokenizer, albeit a really cool one. I was just wondering if there is
> > some sort of non-destructive versions of it?
> >
> > Thanks,
> > Kyle
>
> OptionParser#parse! is destructive, OptionParser#parse is nondestructive
>
>
>
> --
> Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
> Department of Computer Science. Illinois Institute of Technology.
>
http://www.iit.edu...
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
non-destructive option parser?
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