This project is archived and is in readonly mode.

Changeset [823b623fe2de8846c37aa13250010809ac940b57] by Eloy Duran

November 24th, 2008 @ 05:53 PM

Allow optional arguments and/or block for Object#try like Object#send does. [#1425 state:resolved]

Original suggestion by Pat Nakajima.

Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

Committed by Eloy Duran

  • M activesupport/lib/active_support/core_ext/object/misc.rb
  • M activesupport/test/core_ext/object_and_class_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>