Sha256: cca0858681a1ae4db948ea5fbdffa65c3ac57cd838aec3a0e0670543cee65bb7

Contents?: true

Size: 492 Bytes

Versions: 4

Compression:

Stored size: 492 Bytes

Contents

class TestHarness
  class UIHelper
    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
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
test-harness-0.6.3 lib/ui_helper.rb
test-harness-0.6.2 lib/ui_helper.rb
test-harness-0.6.1 lib/ui_helper.rb
test-harness-0.6.0 lib/ui_helper.rb