From: Daniel Schierbeck Date: 2007-02-21T05:34:15+09:00 Subject: Re: [Facets] Range#overlap? On Tue, 2007-02-20 at 22:47 +0900, Daniel Finnie wrote: > That seems to be what facet/range/within does now. It's implementation is rather odd, though. Here's what I'd like to have instead: class Range def span? other include? other.first and other.last <= (other.exclude_end? ? last.succ : last) end end Cheers, Daniel