Index of Classes & Methods in set: Ruby Standard Library Documentation (Ruby 2.4.2)

Support for the Ruby 2.4 series has ended. See here for reference.

#### Ruby 2.4.2

New to Ruby? You may find these links helpful: syntax, control expressions, assignment, methods, modules + classes, and operator precedence.

This is the API documentation for set: Ruby Standard Library Documentation.

Classes

M Enumerable

C Set

C SortedSet

Methods

::[] (Set)

::new (Set)

#& (Set)

#+ (Set)

#- (Set)

#< (Set)

#<< (Set)

#<= (Set)

#== (Set)

#> (Set)

#>= (Set)

#^ (Set)

#add (Set)

#add? (Set)

#classify (Set)

#clear (Set)

#collect! (Set)

#compare_by_identity (Set)

#compare_by_identity? (Set)

#delete (Set)

#delete? (Set)

#delete_if (Set)

#difference (Set)

#disjoint? (Set)

#divide (Set)

#each (Set)

#empty? (Set)

#flatten (Set)

#flatten! (Set)

#include? (Set)

#initialize_clone (Set)

#initialize_dup (Set)

#inspect (Set)

#intersect? (Set)

#intersection (Set)

#keep_if (Set)

#length (Set)

#map! (Set)

#member? (Set)

#merge (Set)

#proper_subset? (Set)

#proper_superset? (Set)

#reject! (Set)

#replace (Set)

#select! (Set)

#size (Set)

#subset? (Set)

#subtract (Set)

#superset? (Set)

#to_a (Set)

#to_set (Enumerable)

#to_set (Set)

#union (Set)

#| (Set)