Method: Interval#null?
- Defined in:
- lib/mega/interval.rb
#null? ⇒ Boolean
Returns true if the start and end sentinels are equal and the interval is open; otherwise false.
112 |
# File 'lib/mega/interval.rb', line 112 def null? ; @direction == 0 and @exclusive_first and @exclusive_last ; end |