Is it between a range : between « Number « Ruby






Is it between a range



1.between?(0,10)  # true: 0 <= 1 <= 10

 

Related examples in the same category