From: Brian Candler Date: 2011-08-14T20:58:51+09:00 Subject: Re: Stuck at an Issue with OptParse and File IO 7stud -- wrote in post #1016570: > Brian Candler wrote in post #1016507: >> >> So you need to go to the documentation for OptionParser and see what >> method you should be calling instead. >> > > There be nitwits there. Ruby's documentation is often poor, but there's always the source code you can look at. In this case, a simple check shows that there is no 'logfile' method anywhere in the OptionParser library. $ grep -iR logfile /usr/lib/ruby/1.8/optparse.rb /usr/lib/ruby/1.8/optparse/ $ -- Posted via http://www.ruby-forum.com/.