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