class Hamster::SortedSet
def below(item, &block)
-
item
(Object
) --
Returns:
-
(nil)
- -
(SortedSet)
-
Other tags:
- Yield: - Once for each item less than `item`, in order from lowest
Overloads:
-
below(item)
-
below(item)
def below(item, &block) if block_given? @node.each_less(item, false, &block) else self.class.alloc(@node.prefix(item, false)) end end