Module: Conquest
- Defined in:
- lib/conquest/gtk.rb,
lib/conquest/gtk/gui.rb,
lib/conquest/gtk/version.rb
Defined Under Namespace
Classes: GUI
Constant Summary collapse
- GUI_VERSION =
"0.2"
Class Method Summary collapse
Class Method Details
.run_gui ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/conquest/gtk.rb', line 6 def self.run_gui puts "Running Conquest for GTK, version #{Conquest::GUI_VERSION}." print "\nDownloading data... Your GUI will be ready in just a moment." parser = Parser.new DATA_URL puts "\nFinished, here you go!" Gtk.init main = GUI.new main.set_outputs parser.hex_list, parser.ards_code main.show_all Gtk.main end |