RubyGems Navigation menu

ruby19_stable_sort 0.0.1

The Ruby 1.8 Enumerable.sort_by method was stable, in that items with matching conditions were preserved in the same order. That's not the case in Ruby 1.9. Some of my code depended on this behavior, and I'm sure I'm not the only one. So here's a stable_sort_by method that preserves the orders of items with matching sort_by values.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.0.1 - April 24, 2011 (4.5 KB)

擁有者:

作者:

  • Jon Moses

SHA 256 checksum:

f6273106b404c1162432b791451c12109bb5c044625f5f873612916434abfcc1

總下載次數 6,678

這個版本 6,678

License:

Ruby 版本需求:

相關連結: