On Tue, Dec 31, 2002 at 11:01:27PM +0900, ts wrote:
> >>>>> "J" == Jonas Hoffmann <ruby / joelh.de> writes:
> 
> J> Now, in 1.8.0 the each Method works only if the numbers are Integers,
> 
>  No, for object which respond to #succ

I don't understand this.  Strings respond to #succ ("A".succ is "B"),
but they don't work well in Ranges:

irb(main):001:0> RUBY_VERSION
=> "1.8.0"
irb(main):002:0> "A".."Z".each { |x| p x }
"Z"
=> "A".."Z"

> J> makes sense for me. But if this works, why is'nt the size Method also 
> J> possible for integers ?
> 
>  [ruby-talk:60231]

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

Paul