rails/rails — pull request #3767 by tadast (2011-11-26 23:59:48+00:00)
Title: Object#in? also accepts multiple parameters

This is just a suggestion, but since the change is quite simple, I've created a pull request. The idea is to allow passing multiple arguments to Object#in? method, like:

```ruby
animal = "cat"
animal.in?("dog", "cat", "rat")
```
currently, you'd have to do something like this:

```ruby
animal = "cat"
animal.in?(["bat", "cat", "rat"])
```
which is not very nice. Implementation also preserves current behaviour.
Do you think it would be useful?