In Ruby> = 1.9, include?iterates through each element in a range and checks to see if a given element is present.
cover? , >= , <= .
- , Ruby ()
"ABCD" > "AAA" "ABCD" < "ZZZ".
Ruby 1.8, include? Ruby 1.9 cover?.
, , .
, , , (0..1_000_000_000).cover?(1_000_000_001) , include? - .
, include?: "ABCD" ("AAA".."ZZZ"), .