Class: Uttk::Strategies::Pool

Inherits:
Collection show all
Includes:
Concrete
Defined in:
lib/uttk/strategies/Pool.rb

Overview

I’m a collection of strategies and I run all of them in a separated thread.

Defined Under Namespace

Classes: PoolComponent

Instance Attribute Summary

Attributes inherited from Strategy

#status

Instance Method Summary collapse

Methods inherited from Collection

#attributes, #attributes=, #contents=, #create, #method_missing, #strategyclass, #strategyclass=

Methods inherited from Composite

#<<, #contents, #create, #initialize_copy, #initialize_test

Methods inherited from Strategy

#abort, #assert_cmd, #assign, #clean_instance_variables, #display_unexpected_exc, #display_unexpected_synflow_exc, #fail, #initialize_flow_factory, #mk_system_runner, #name=, #pass, #raise_error, #reject, #run, #running?, #skip, #skip_if_cached, #skip_pass, #skip_wrt_rpath_and_rpath_exclude, #strategy, #strategy=, #symbols=, #symtbl, #symtbl=, #testify, #timeout=, to_form, #to_s, to_yaml_type, #wclass=

Constructor Details

#initialize(*a, &b) ⇒ Pool

Returns a new instance of Pool.



21
22
23
24
# File 'lib/uttk/strategies/Pool.rb', line 21

def initialize ( *a, &b )
  @pool_contents = []
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Uttk::Strategies::Collection