jasmine-headless-webkit/lib/jasmine/headless/cli.rb
2011-06-16 09:51:49 -04:00

18 lines
350 B
Ruby

require 'jasmine/headless/runner'
require 'jasmine/headless/options'
require 'getoptlong'
module Jasmine
module Headless
class CLI
def self.run
Runner.run(Options.from_command_line)
rescue NoRunnerError
puts "The Qt WebKit widget is not compiled! Try re-installing this gem."
1
end
end
end
end