include « Range « Ruby





1.The include Function can be used to check whether a particular number is within a range or not.