if you wish to capture the exceptions of the a method, you do not require to use begin, you can simple use it like so
range has an include? function that return true if a value between the range.min and range.max