Class: NetSystem::DatabasePanel

Inherits:
Liza::Panel show all
Defined in:
lib/net_system/sub/database/database_panel.rb

Instance Attribute Summary

Attributes inherited from Liza::Panel

#key

Instance Method Summary collapse

Methods inherited from Liza::Panel

box, #box, color, #controller, controller, division, #division, #initialize, #push, #short, #started, subsystem, #subsystem, token

Methods inherited from Liza::Unit

const_missing, division, part, system, #system, test_class

Constructor Details

This class inherits a constructor from Liza::Panel

Instance Method Details

#define(key, instance) ⇒ Object



3
4
5
6
7
8
# File 'lib/net_system/sub/database/database_panel.rb', line 3

def define key, instance
  set key, instance
  define_singleton_method key do
    get key
  end
end