From: Roger Pack Date: 2007-11-05T19:27:59+09:00 Subject: Re: ruby wish-list > Another wish for Ruby would be the power to define ones own unary or > binary operators. > > Like I wish I could define "is_within?' for arrays, like > if element_x is_within? array_y > # do stuff > end I guess it is possible: if element_x.is_within? array_y # do stuff end Ruby is flexible enough again! Another wish list item would be being able to use "a {var_name}" instead of "a #{var_name}" I hate that extra pound, as it reminds me of perl :) Take care. -Roger -- Posted via http://www.ruby-forum.com/.