diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-02-14 23:47:39 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-03-18 14:53:55 +0900 |
commit | f2ece415562cf8525241464c6ff50e3dff6b1c80 (patch) | |
tree | 952935685e54075962e9f6f4ad52f61ae6bae15f /benchmark/bm_io_file_read.rb | |
parent | 7e81ca14feaff4db75feaa1556dff64cbe30d7df (diff) | |
download | ruby-fix/set-sortedset-comparison.tar.gz |
set: fix SortedSet#superset? with rbtreefix/set-sortedset-comparison
* lib/set.rb (Set#{<,<=,>,>=}): check if the internal @hash has
<,<=,>,>= operators. In SortedSet, @hash may be a RBTree, which
doesn't have them.
Diffstat (limited to 'benchmark/bm_io_file_read.rb')
0 files changed, 0 insertions, 0 deletions