>>>>> "P" == Paul Brannan <pbrannan / atdesk.com> writes:

P> irb(main):002:0> "A".."Z".each { |x| p x }

pigeon% ruby -e '("A".."Z").each  { |x| p x }'
"A"
"B"
"C"
"D"
"E"
"F"
"G"
"H"
"I"
"J"
"K"
"L"
"M"
"N"
"O"
"P"
"Q"
"R"
"S"
"T"
"U"
"V"
"W"
"X"
"Y"
"Z"
pigeon% 

P> I think that's an answer to a slightly different question.  Matz
P> described why #size doesn't make sense for file streams and Floats.  I'm
P> still interested in hearing why it won't work for Integers.

 An object can respond to #succ and be like a file stream, i.e. an object
 that can't iterate more than once.


Guy Decoux