Mega Code Archive
Categories
/
Ruby
/
Range
Reference to_a from a range in an excluded range
range = 1...5 #excludes the 5 puts range.to_a