Is there a simple way to evaluate whether an integer is within that range using the (2..100)
syntax.
For example, say I wanted to evaluate as true if my integer x = 100
, and my range is (0..200)
, I'm just looking for the simple, concise ruby-way of doing this.