From: Intransition Date: 2010-09-25T00:28:23+09:00 Subject: Re: RCR: String#contain? and Array#contain? On Sep 23, 4:32 pm, Roger Pack wrote: > Every time I have to guess from memory whether to use "contain?" or > "include?" within arrays and strings, I always guess wrong (the right > answer is only "include?" BTW). > Since ruby typically allows multiple ways of doing things, consider this > a feature request to add contain? to both String and Array. > > Any feedbacks to this idea? alias :contain?, :include? That's what you mean?