From: ideal one Date: 2011-08-11T02:20:48+09:00 Subject: Undefined method error for File IO operation Hi, Below is part of the code that is throwing following exception ":in `
': undefined method `logfile' for # (NoMethodError)" fh = options.logfile.open('w') --> This line is failing log = TeeLogger.new(fh,$stderr) log.level = Logger::INFO log = TeeLogger.new(fh,$stderr) pls help me resolve this issue Cheers -- Posted via http://www.ruby-forum.com/.