diff options
author | Prem Sichanugrist, Brian Morearty, John Reitano <s@sikachu.com, github2@morearty.org, john_reitano@yahoo.com> | 2011-04-10 20:27:08 +0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-11 03:17:08 +0800 |
commit | 635d991683c439da56fa72853880e88e6ac291ed (patch) | |
tree | cb2d51ebe3bedfb71df5661ba5e86246bf064e0a /actionpack/lib/action_pack | |
parent | 62b2755f7a4ca12491a7899348066695a6a26917 (diff) | |
download | rails-635d991683c439da56fa72853880e88e6ac291ed.tar.gz rails-635d991683c439da56fa72853880e88e6ac291ed.tar.bz2 rails-635d991683c439da56fa72853880e88e6ac291ed.zip |
Add support for Object#in? and Object#either? in Active Support [#6321 state:committed]
This will allow you to check if an object is included in another object
or the list of objects or not.
This patch is derived from patch by Brian Morearty and John Reitano on
Lighthouse ticket. I've rewrite it and make sure that we support both
'another object' and 'list of objects' version, as it surely be useful
to support both.
Diffstat (limited to 'actionpack/lib/action_pack')
0 files changed, 0 insertions, 0 deletions