From: Gavin Sinclair Date: 2003-01-14T13:33:24+09:00 Subject: Re: Yet Another Test First Example ... in Ruby On Tuesday, January 14, 2003, 2:53:20 PM, Shashank wrote: > Very nice ... > One question: > In the "Our First Test" section, you say: > Ruby Comments: The require keyword in Ruby looks in the ruby > libraries for a file named 'test/unit.rb' and will load it in to the > running program. > Is "require" a keyword (i.e. reserved) in Ruby ? I always understood > it as a function which took filename as argument. It is a method, but calling it a keyword probably makes more sense to the target audience, who are expected to be unfamiliar with Ruby. "require" occupies a space in programming languages usually known as "keywords", or in this case, "directives". Implementation details don't really change that. Gavin