Project

General

Profile

« Previous | Next » 

Revision c23b25f7

Added by akr (Akira Tanaka) almost 2 years ago

describe the assumption for Range#overlap?.

Range#overlap? assumes that there is no minimum value.
This assumption makes
+(...-Float::INFINITY).overlap?((...-Float::INFINITY))+ returns true
while +(...-Float::INFINITY)+ is empty.