Mega Code Archive
Categories
/
Ruby
/
Range
Test if something is included in the set of objects specified by the range
print "R is within A to Z!" if ('A'..'Z').include?('R')