From: Dave Thomas Date: 2000-03-16T11:43:33-06:00 Subject: [ruby-talk:01916] Re: I'm stumped...! "David Douthitt" writes: > The note about "....or what the documentation calls a singleton method" > helps. Yet, why does the following snippet from the code WORK when > the others fail? > > ConfigFile.open(oratab).each_line { |line| > line.chomp!; > print line, "\n"; > } Because here you're bypassing your open method and using File's. Dave