Sha256: b94bcc41f445e6116a2bfb339909e2eae40a589ddf39ca07ccfd6e348ee94982
Contents?: true
Size: 214 Bytes
Versions: 49
Compression:
Stored size: 214 Bytes
Contents
class Range # http://stackoverflow.com/questions/699448/ruby-how-do-you-check-whether-a-range-contains-a-subset-of-another-range def overlap?(other) (first <= other.last) and (other.first <= last) end end
Version data entries
49 entries across 49 versions & 1 rubygems