Although it is unlikely to be an issue with any current or near future ruby version, it doesn't work quite the same.  For example, the string comparison will give the wrong result for RUBY_VERSION = '1.11.1'.