method
exclude_end?
v2_5_5 -
Show latest stable
- Class:
Range
exclude_end?()public
Returns true if the range excludes its end value.
(1..5).exclude_end? #=> false (1...5).exclude_end? #=> true
exclude_end?()Returns true if the range excludes its end value.
(1..5).exclude_end? #=> false (1...5).exclude_end? #=> true