Class: ChemistryParadise::GUI::UnifiedWidgets::WheatherApp
- Inherits:
-
Object
- Object
- ChemistryParadise::GUI::UnifiedWidgets::WheatherApp
- Includes:
- WetterModule
- Defined in:
- lib/chemistry_paradise/gui/unified_widgets/wetter/wetter.rb
Overview
Wetter::Gui::UnifiedWidgets::WheatherApp
Constant Summary
Constants included from WetterModule
WetterModule::HEIGHT, WetterModule::SMALLER_FONT, WetterModule::SMALLEST_FONT, WetterModule::TITLE, WetterModule::USE_THIS_FONT, WetterModule::WIDTH
Instance Method Summary collapse
-
#initialize(i = ARGV, run_already = true) ⇒ WheatherApp
constructor
# === initialize ========================================================================= #.
-
#reset ⇒ Object
# === reset ========================================================================= #.
Methods included from WetterModule
#attach_temperature_value_to_the_main_label, #border_size?, #connect_skeleton, #create_skeleton, #create_the_buttons, #create_the_labels, #create_the_main_window, #determine_which_smiley_should_be_used, #do_the_actions_associated_with_the_update_button, #main_window?, #padding?, #reset_the_shared_module, #return_the_temperature_string, #run, #smaller_font?, #smallest_font?, #update_the_temperature_listing
Constructor Details
#initialize(i = ARGV, run_already = true) ⇒ WheatherApp
#
initialize
#
40 41 42 43 44 45 46 47 |
# File 'lib/chemistry_paradise/gui/unified_widgets/wetter/wetter.rb', line 40 def initialize( i = ARGV, run_already = true ) reset (i) run if run_already end |
Instance Method Details
#reset ⇒ Object
#
reset
#
52 53 54 55 56 |
# File 'lib/chemistry_paradise/gui/unified_widgets/wetter/wetter.rb', line 52 def reset reset_the_shared_module reset_the_internal_variables infer_the_size_automatically end |