title: Using (:send) in Ruby with keyword arguments?
body: <p>I have a private method that I am trying to use #send to in Ruby to do some testing. The method is complicated and I don't want exposed outside of the class and so I want to test the method but I also don't need to list it as a public method. It has keyword arguments. How can I use <code>send</code> to call the method but also pass it keyword arguments/named parameters? Is there a way?</p>
  
  <p>The method looks like this:</p>
  
  <p><code>def some_method(keyword_arg1:, keyword_arg2:, keyword_arg3: nil)</code></p>