title: change the original variable from a ruby block?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/161510/pass-parameter-by-reference-in-ruby">&#39;pass parameter by reference&#39; in Ruby?</a>  </p>
  </blockquote>
  
  
  
  <p>in this example:</p>
  
  <pre><code>def test
    verb = 'nothing'
    yield verb
    puts verb
  end
  
  test {|verb| verb = 'something'}
  </code></pre>
  
  <p>it will print "nothing".</p>
  
  <p>is it possible to change it to "something"?</p>
  
  <p>thanks</p>