From: Mike Stok Date: 2004-05-28T22:02:18+09:00 Subject: Re: an idea regarding map Ryan Paul writes: > I appreciate the good responses I get here. Another syntactic question: > > why do we not have an 'in' operator like python does? Would include? do what you want? e.g. if legal_values.include? input_value then ... end Mike -- mike@stok.co.uk | The "`Stok' disclaimers" apply. http://www.stok.co.uk/~mike/ | GPG PGP Key 1024D/059913DA | Fingerprint 0570 71CD 6790 7C28 3D60 | 75D2 9EC4 C1C0 0599 13DA