Class: Openall_time_applet::Gui

Inherits:
Object
  • Object
show all
Defined in:
lib/openall_time_applet.rb

Overview

Subclass holding all GUI-subclasses and autoloading of them.

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object

Autoloader for subclasses.



42
43
44
45
# File 'lib/openall_time_applet.rb', line 42

def self.const_missing(name)
  require "#{File.dirname(__FILE__)}/../gui/#{name.to_s.downcase}.rb"
  return Openall_time_applet::Gui.const_get(name)
end