title: How to compactly write a block that executes a method with arguments
body: <p>In the following code:</p>
  
  <pre><code>def main
    someArray.all? { |item| checkSomething(item) }
  end
  
  private
    def checkSomething(arg)
      ...
    end
  </code></pre>
  
  <p>How do I shorten the <code>all?</code> statement in order to ged rid of the redundant <code>item</code> variable?</p>
  
  <p>I'm looking for something like <code>someArray.all?(checkSomething)</code> which gives a "wrong number of arguments" error.</p>