From: David Douthitt Date: 2000-03-16T11:41:00-06:00 Subject: [ruby-talk:01915] Re: I'm stumped...! Dave Thomas wrote: | You're calling 'open' as a class method (or what the documentation | calls a singleton method), but you defined it as an instance method. | | You could change the definition to | | class OraTab | def OraTab.open | super(oratab) | end Ahhhh.... the light is starting to dawn! :-) 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"; }