Module: GHtml2Pdf
- Defined in:
- lib/ghtml2pdf.rb,
lib/ghtml2pdf/version.rb,
lib/ghtml2pdf/application.rb,
lib/ghtml2pdf/argument_parser.rb
Overview
Main entry point for GHtml2Pdf.
Defined Under Namespace
Classes: Application, ArgumentParser, MissingArgument
Constant Summary collapse
- VERSION =
'0.1.1'
Class Method Summary collapse
-
.run(argv) ⇒ Object
Run the application.
Class Method Details
.run(argv) ⇒ Object
Run the application.
9 10 11 12 13 14 15 |
# File 'lib/ghtml2pdf.rb', line 9 def self.run(argv) Gtk.init GHtml2Pdf::Application.new(argv).run rescue GHtml2Pdf::MissingArgument => e warn e. exit 1 end |