From: trans Date: 2011-12-07T00:48:16+09:00 Subject: [ruby-core:41506] Re: [ruby-trunk - Feature #5695][Open] CoffeeScript "is" and "isnt" keywords ------=_Part_45_17477132.1323186484526 Content-Type: multipart/alternative; boundary="----=_Part_46_19381660.1323186484526" ------=_Part_46_19381660.1323186484526 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Indeed, I have aliased `#is` to `#include` and aliased `#is?` as `#===` before class Collection is Enumerable end Collection.is? Enumerable Which I find exceptionally readable. ------=_Part_46_19381660.1323186484526 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Indeed, I have aliased `#is` to `#include` and aliased `#is?` as `#===` before

  class Collection
    is Enumerable
  end

  Collection.is? Enumerable

Which I find exceptionally readable.




------=_Part_46_19381660.1323186484526-- ------=_Part_45_17477132.1323186484526--