summaryrefslogtreecommitdiff
path: root/lib/abbrev.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2022-01-11 05:30:05 +0900
committergit <svn-admin@ruby-lang.org>2022-01-13 18:15:14 +0900
commit9828502570acce53f4094c23756bc82bd256eab7 (patch)
tree564cba1082afd34a4c35655d7c65ca78a61cca27 /lib/abbrev.rb
parent9de380860d8dc78963cabb5247c6e4a93a2fc5a9 (diff)
[rubygems/rubygems] Let Version#spaceship accept a String
With this patch, handwriting version comparisons become a little bit easier. before: SomeGem.version <=> Gem::Version.new('1.3') after: SomeGem.version <=> '1.3' https://github.com/rubygems/rubygems/commit/7e0dbb79f2
Diffstat (limited to 'lib/abbrev.rb')
0 files changed, 0 insertions, 0 deletions