Class: TTK::Strategies::Pool
- Inherits:
-
Collection
- Object
- Strategy
- Composite
- Collection
- TTK::Strategies::Pool
- Includes:
- Concrete
- Defined in:
- lib/ttk/strategies/Pool.rb
Defined Under Namespace
Classes: PoolComponent
Instance Attribute Summary
Attributes inherited from Strategy
Instance Method Summary collapse
-
#initialize(*a, &b) ⇒ Pool
constructor
A new instance of Pool.
Methods inherited from Collection
#attributes=, #contents=, #create, #method_missing, #strategyclass, #strategyclass=
Methods inherited from Composite
#<<, #create, #initialize_test, #new_symtbl
Methods inherited from Strategy
#abort, #assign, #clean_instance_variables, #display_unexpected_exc, #display_unexpected_synflow_exc, #fail, #initialize_flow_factory, #pass, #raise_error, #reject, #run, #running?, #skip, #skip_if_cached, #strategy, #strategy=, #symbols=, #testify, #timeout=, #to_s, #wclass=
Constructor Details
#initialize(*a, &b) ⇒ Pool
Returns a new instance of Pool.
19 20 21 22 |
# File 'lib/ttk/strategies/Pool.rb', line 19 def initialize ( *a, &b ) @pool_contents = [] super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class TTK::Strategies::Collection