Chapter 3. BaseInterval

Table of Contents

+ - Adds to an interval
- - Subtracts from an interval
* - Multiplies an interval
/ - Divides an interval
<=> - Compares intervals
to_s - Returns a String representation
to_builtin - Returns a String representation

Warning

BaseInterval is intended to be an abstract base class. You should not attempt to create objects of this class. Future releases of Ruby9i will enforce this restriction.