module Thor::Base::ClassMethods
def build_options(options, scope) #:nodoc:
Hash[Symbol => Object]
==== Parameters
build_options :foo => true, :bar => :required, :baz => :string
fast way to set a bunch of options:
Receives a hash of options, parse them and add to the scope. This is a
def build_options(options, scope) #:nodoc: options.each do |key, value| scope[key] = Thor::Option.parse(key, value) end end