BSD Ports

devel/ruby-sorted_set 1.0.3 OpenBSD

a set whose elements are sorted in ascending order

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Kurt Mosiejczuk <[email protected]>
Categories
devel, lang/ruby

Description

SortedSet implements a Set whose elements are sorted in ascending order (according to the return values of their <=> methods) when iterating over them.

Every element in SortedSet must be mutually comparable to every other: comparison with <=> must not return nil for any pair of elements. Otherwise ArgumentError will be raised.

Currently this library does nothing for JRuby, as it has its own version of Set and SortedSet.

Install

Binary package:

pkg_add ruby40-sorted_set

From the ports tree:

cd /usr/ports/devel/ruby-sorted_set && make install

Dependencies

Build dependencies 1
Run dependencies 1

No port depends on this one.