FreeBSD.software
Home/devel/rubygem-set

rubygem-set

1.1.2

Class to deal with collections of unordered, unique values

This library provides the Set class, which deals with a collection of unordered values with no duplicates. It is a hybrid of Array's intuitive inter-operation facilities and Hash's fast lookup. The method to_set is added to Enumerable for convenience. Set implements a collection of unordered values with no duplicates. This is a hybrid of Array's intuitive inter-operation facilities and Hash's fast lookup. Set is easy to use with Enumerable objects (implementing each). Most of the initializer methods and binary operators accept generic Enumerable objects besides sets and arrays. An Enumerable object can be converted to Set using the to_set method.

Origin: devel/rubygem-set
Category: devel
Size: 41.0KiB
License: BSD2CLAUSE, RUBY
Maintainer: sunpoet@FreeBSD.org
Dependencies: 2 packages
Required by: 1 packages
$pkg install rubygem-set

Dependencies (2)

Required By (1 packages)

More in devel