Undefined Error method While parsing Log File

HI,
   i have attached my Ruby code, which i am facing some issues.
Its throwing following Error -
Optparsetest.rb:99:in `<main>': undefined method `logfile' for
#<OptionParser:0x2ddc440> (NoMethodEr
ror)

let me know where i am making a mistake.

Cheers

Attachments:
http://www.ruby-forum.com/attachment/6516/Optparsetest.rb

···

--
Posted via http://www.ruby-forum.com/.