title: Named command line arguments in Ruby
body: <p>Is there a way to pass named arguments to a Ruby script?</p>
  
  <p>I understand the ARGV method of passing parameters, but this requires them to be in a certain order. What I'd like to do is pass named arguments, similar to other command-line operations. For instance:</p>
  
  <pre><code>$ ruby someRubyScript.rb -a argumentA -b argumentB
  </code></pre>
  
  <p>Any thoughts?</p>