Module: RuGUI::FrameworkAdapters::FrameworkAdapterSupport
Defined Under Namespace
Modules: CommonClassAndInstanceMethods
Class Method Summary
collapse
Instance Method Summary
collapse
Instance Method Details
#framework_adapter_for(class_name) ⇒ Object
6
7
8
9
10
|
# File 'lib/rugui/framework_adapters/framework_adapter_support.rb', line 6
def framework_adapter_for(class_name)
@framework_adapter ||= {}
load_framework_adapter(class_name) unless @framework_adapter[class_name]
@framework_adapter[class_name]
end
|
#load_framework_adapter(class_name) ⇒ Object
12
13
14
|
# File 'lib/rugui/framework_adapters/framework_adapter_support.rb', line 12
def load_framework_adapter(class_name)
@framework_adapter[class_name] = class_adapter_for(class_name).new(self)
end
|