Non-destructive option parser?

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

On Thu, 24 Apr 2008 16:51:59 -0500, Kyle S. 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

I am so dense sometimes.

Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs