Class: Openall_time_applet::Gui
- Inherits:
-
Object
- Object
- Openall_time_applet::Gui
- Defined in:
- lib/openall_time_applet.rb
Overview
Subclass holding all GUI-subclasses and autoloading of them.
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
Autoloader for subclasses.
Class Method Details
.const_missing(name) ⇒ Object
Autoloader for subclasses.
40 41 42 43 |
# File 'lib/openall_time_applet.rb', line 40 def self.const_missing(name) require "#{File.dirname(__FILE__)}/../gui/#{name.to_s.downcase}.rb" return Openall_time_applet::Gui.const_get(name) end |