Em 09-07-2011 20:13, Nobuyoshi Nakada escreveu:
> Hi,
>
> At Sun, 10 Jul 2011 08:01:58 +0900,
> Rodrigo Rosenfeld Rosas wrote in [ruby-core:37936]:
>> This is the equivalent in Slop:
>>
>> <pre>
>> require 'slop'
>>
>> opts = Slop.parse do
>>    banner "Usage: example.rb [options]"
>>    on :v, :verbose, "Run verbosely", :default =>  true
>> end
>>
>> p opts.to_hash
>> </pre>
> Hidden instance_eval is cause of confusion.  It's a way
> OptionParser has thrown away.

Sorry, Nobu, I didn't get it. Could you explain it better?