# File lib/choice.rb, line 56 def option(opt, options = {}, &block) # Notice: options is maintained as an array of arrays, the first element # the option name and the second the option object. @@options << [opt.to_s, Option.new(options, &block)] end