class Hamster::SortedSet
def from(item, &block)
-
item
(Object
) --
Returns:
-
(nil)
- -
(SortedSet)
-
Other tags:
- Yield: - Once for each item greater than or equal to `item`, in
Overloads:
-
from(item)
-
from(item)
def from(item, &block) if block_given? @node.each_greater(item, true, &block) else self.class.alloc(@node.suffix(item, true)) end end