title: What does .delegate mean in groovy?
body: <p>I found this code snippet:</p>
  
  <pre><code>def say = {println m}
  say.delegate = [m:2]
  say()
  </code></pre>
  
  <p>That apperantly prints 2. How does it work? Where can find documentation about <code>.delegate</code>? Google led me to the Delegate Transformation page that doesn't mention <code>.delegate</code> at all.</p>