--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Takes an array of switches. Each array consists of up to three elements that indicate the name and type of switch. Returns a hash containing each switch name, minus the '-', as a key. The value for each key depends on the type of switch and/or the value provided by the user.
- !ruby/struct:SM::Flow::P 
  body: The long switch <em>must</em> be provided. The short switch defaults to the first letter of the short switch. The default type is :boolean.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  opts = Thor::Options.new(\n     &quot;--debug&quot; =&gt; true,\n     [&quot;--verbose&quot;, &quot;-v&quot;] =&gt; true,\n     [&quot;--level&quot;, &quot;-l&quot;] =&gt; :numeric\n  ).parse(args)\n"
full_name: Thor::Options::new
is_singleton: true
name: new
params: (switches)
visibility: public
