Am Dienstag, 31. Dezember 2002 14:22 schrieb Yukihiro Matsumoto:
> I'm not sure whether previous definition makes sense.

hmm, 

i don't know how you defined it before (1.6.x) , it just worked with integers 
and float numbers. 
Now, in 1.8.0 the each Method works only if the numbers are Integers, that 
makes sense for me. But if this works, why is'nt the size Method also 
possible for integers ? Sure i can help me with

a = Range::new(1,5)
counter = 0
a.each { |i|
 counter += 1
}
puts counter

but then the size Method should also make sense here.


Jonas Hoffmann