From: "mame (Yusuke Endoh)" Date: 2012-03-25T16:45:47+09:00 Subject: [ruby-core:43649] [ruby-trunk - Feature #5006][Assigned] Allow ~> as a method Issue #5006 has been updated by mame (Yusuke Endoh). Status changed from Open to Assigned Assignee set to matz (Yukihiro Matsumoto) ---------------------------------------- Feature #5006: Allow ~> as a method https://bugs.ruby-lang.org/issues/5006#change-25149 Author: trans (Thomas Sawyer) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) 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://bugs.ruby-lang.org/