Module: FatCore
- Defined in:
- lib/fat_core/date.rb,
lib/fat_core/nil.rb,
lib/fat_core/hash.rb,
lib/fat_core/array.rb,
lib/fat_core/range.rb,
lib/fat_core/string.rb,
lib/fat_core/symbol.rb,
lib/fat_core/numeric.rb,
lib/fat_core/version.rb,
lib/fat_core/bigdecimal.rb more...
Overview
FatCore extends the Range class with methods that
- provide some set operations operations on Ranges, union, intersection, and difference,
- test for overlapping and contiguity between Ranges,
- test for whether one Range is a subset or superset of another,
- join contiguous Ranges,
- find whether a set of Ranges spans a large range, and if not, to return a set of Ranges that represent gaps in the coverage or overlaps in coverage,
- provide a definition for sorting Ranges based on sorting by the min values and sizes of the Ranges.
Defined Under Namespace
Modules: Array, BigDecimal, Date, Hash, NilClass, Numeric, Range, String, Symbol