I wanted to check if my_number was in a certain range, including the higher Value.
In an IF Statement I\'d simply use \"x > 100 && x <= 500\"
But
You could just do:
(1..500).include? x
which is also aliased as member?.
member?