From: Dave Thomas Date: 2000-01-21T14:28:05-06:00 Subject: [ruby-talk:01159] Re: Is this expected behavior? Dave Thomas writes: > Playing around with ranges, I bumped into this... > > (1..10).end > 10 > > (1...10).end > -e:1: undefined method `end' for nil (NameError) Doh... answered my own question - it's a precedence thing. The two calls were in different circumstances--the second was p (1...10).end it should have been p ((1...10).end) Sorry to waste bandwidth Dave