method

_empty_range?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Range
_empty_range?(b, e, excl) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/range/overlap.rb, line 31
    def _empty_range?(b, e, excl)
      return false if b.nil? || e.nil?

      comp = b <=> e
      comp.nil? || comp > 0 || (comp == 0 && excl)
    end
Register or log in to add new notes.