The range min and max methods return the first and last elements in an array:
range = "a".."e" #creates "a", "b", "c", "d", "e" puts range.min #prints "a" puts range.max #prints "e"