[ruby-core:32688] Re: [Ruby 1.9-Feature#3845][Open] "in" infix operator

From: Roger Pack <rogerdpack2@...>
Date: 2010-10-04 18:16:32 UTC
List: ruby-core #32688
> This was proposed previously:
>
> class Object
> ef in? enum
> num.include? self
> nd
> end

Yeah I proposed it.
Now that I have learned about Comparable's #between I am not as averse to it.
I would be ok with "in" keyword or .in? method

-r

In This Thread