[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01158] Is this expected behavior?

From: Dave Thomas <Dave@...>
Date: 2000-01-21 20:20:50 UTC
List: ruby-talk #1158
Playing around with ranges, I bumped into this...

     (1..10).end
   10

     (1...10).end
   -e:1: undefined method `end' for nil (NameError)

Is this correct?

Regards

Dave


In This Thread

Prev Next