class Rexical::Generator

def scanner_io

def scanner_io
  unless  scanner_file = @opt['--output-file']
    scanner_file  =  grammar_file + ".rb"
  end
  File.open(scanner_file, 'wb')
end