From: Mark Thomas Date: 2009-06-03T04:21:23+09:00 Subject: Re: <, >, and ranges in a case statement. On Jun 2, 9:32 am, Max Williams wrote: > Clifford Heath wrote: > > Brian Candler wrote: > >> Simplest solution is to use a Range with extreme bounds, > > > ... such as a range that ends in Infinity: > > > 65..(1/0.0) > > => 65..Infinity Interesting... you can assign it to a constant. Infinity = 1/0.0 Then you can use it in ranges: (-Infinity..0).include? 100000 => false (0..Infinity).include? 100000 => true