title: Is there a way to do python's kwargs passthrough in ruby 1.9.3?
body: <p>So I have some functions in Ruby 1.9 where it would be really, really nice to do the functional equivalent of this:</p>
  
  <pre><code>def foo(**kwargs):
      ...do stuff...
  
  def bar(**kwargs):
      foo(x = 2, y = 3, **kwargs)
  </code></pre>
  
  <p>So Ruby has opts, but if I do this: </p>
  
  <pre><code>def f(opts)
      print opts.keys
  end
  
  def g(opts)
      f(opts, :bar=&gt;3)
  end
  
  g(:foo =&gt; 1)
  </code></pre>
  
  <p>I get:</p>
  
  <p><code>script:1:in f': wrong number of arguments (2 for 1) (ArgumentError)
      from script:6:in g'
      from script:9:in &lt;main&gt;'</code></p>
  
  <p>Is there a way to pass opts through from g into f?  </p>