要約
各要素をソートされた形で扱う集合クラスです。
各メソッドの使用方法については、Set を参照してください。
RBTree ライブラリ (http://rubygems.org/gems/rbtree) が利用可能である場合、内部記憶としてハッシュの代わりに RBTreeを使用します。
目次
継承しているメソッド
- Setから継承している特異メソッド
- Setから継承しているメソッド
- Enumerableから継承しているメソッド
-
- all?
- any?
- chunk
- collect
- collect_concat
- count
- cycle
- detect
- drop
- drop_while
- each_cons
- each_entry
- each_slice
- each_with_index
- each_with_object
- entries
- find
- find_all
- find_index
- first
- flat_map
- grep
- group_by
- inject
- map
- max
- max_by
- min
- min_by
- minmax
- minmax_by
- none?
- one?
- partition
- reduce
- reject
- reverse_each
- select
- slice_before
- sort
- sort_by
- take
- take_while
- zip