From: Martin Coxall Date: 2006-10-06T17:46:25+09:00 Subject: Re: question mark at end of method name > Paul Lutus wrote: > > .empty? means "is it empty?". It tries to suggest that a question is being > > asked. It's unfortunate that the "!" syntax, which seems similar, actually > > means "apply the result to the present object." > > > thanks....couldn't find that in the documentation I've read so far. That's almost certainly because it's a convention rather than a feature of the language. Generally, conventions of languages tend to be less well documented, because they change over time. Martin