From: Thomas Sawyer Date: 2011-07-09T21:42:55+09:00 Subject: [ruby-core:37919] [Ruby 1.9 - Feature #5006][Open] Allow ~> as a method Issue #5006 has been reported by Thomas Sawyer. ---------------------------------------- Feature #5006: Allow ~> as a method http://redmine.ruby-lang.org/issues/5006 Author: Thomas Sawyer Status: Open Priority: Normal Assignee: Category: Target version: It occurs to me that since RubyGems uses ~> as a recognized version constraint operator (along with >, <, >= and <=) it would be nice if Ruby supported it as a valid method. Ultimately RubyGems could use the new method in it's code. But more generally it could be useful too, as it has a couple of nice features, namely the '~' part can be thought of as meaning "approximate", and as a whole it looks like a pointing arrow. -- http://redmine.ruby-lang.org