Class: TestHarness::UIHelper
- Inherits:
-
Object
- Object
- TestHarness::UIHelper
- Defined in:
- lib/ui_helper.rb
Class Method Summary collapse
Class Method Details
.autoload ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/ui_helper.rb', line 3 def self.autoload TestHarness::Utilities.register_components('ui') do |component| klass = TestHarness::Utilities.constantize("%s::%s::%s" % [ TestHarness.namespace, TestHarness::Utilities.camelize(component), self.name.split('::').last ]) TestHarness.register_instance_option(self, component, klass.new) klass.send(:include, TestHarness::UIComponentHelper) end end |