Class | Kwalify::Main |
In: |
lib/kwalify/main.rb
|
Parent: | Object |
ex.
command = File.basename($0) begin main = Kwalify::Main.new(command) s = main.execute print s if s rescue Kwalify::CommandOptionError => ex $stderr.puts "ERROR: #{ex.message}" exit 1 rescue Kwalify::KwalifyError => ex $stderr.puts "ERROR: #{ex.message}" exit 1 end