From: "F. Senault" Date: 2009-02-12T23:58:43+09:00 Subject: Re: If you are unhappy with the direction of Ruby 1.8.7+, respond Le 12 f�vrier � 15:25, Yossef Mendelssohn a �crit : > I mean, these are *strings*, not anything special. They just happen > to contain a certain pattern of characters. Any Ruby string can become special : >> RUBY_VERSION = RUBY_VERSION.dup (irb):5: warning: already initialized constant RUBY_VERSION => "1.8.6" >> class <(b) >> self.split(/\./).collect { |x| x.to_i } <=> b.split(/\./).collect { |x| x.to_i } >> end ; end => nil >> RUBY_VERSION.freeze => "1.8.6" >> RUBY_VERSION < '1.8.10' => true But not '1.8.10' > RUBY_VERSION, alas ! :) Fred -- The above also applies to "true" and "false" tests: there can be no absolute truth, only subjective reality as perceived from an existentialist paradigm. (Tanuki in the SDM, on politically-correct coding)