rng.exclude_end? â true or false
Instance Public methods
Returns true
if the range excludes its end value.
1 2 | ( 1 .. 5 ).exclude_end? #=> false ( 1 ... 5 ).exclude_end? #=> true |
Returns true
if the range excludes its end value.
1 2 | ( 1 .. 5 ).exclude_end? #=> false ( 1 ... 5 ).exclude_end? #=> true |
Designed by : w10schools
service@w10schools.com
Please login to continue.