Class: TTK::Strategies::Proxy
- Includes:
- Abstract
- Defined in:
- lib/ttk/strategies/Proxy.rb
Instance Attribute Summary
Attributes inherited from Strategy
Instance Method Summary collapse
Methods inherited from Composite
#<<, #initialize, #initialize_test
Methods inherited from Strategy
#abort, #assign, #clean_instance_variables, #display_unexpected_exc, #display_unexpected_synflow_exc, #fail, #initialize, #initialize_flow_factory, #pass, #raise_error, #reject, #run, #running?, #skip, #skip_if_cached, #strategy, #strategy=, #symbols=, #testify, #timeout=, #to_s, #wclass=
Constructor Details
This class inherits a constructor from TTK::Strategies::Composite
Instance Method Details
#create(anObject, &block) ⇒ Object
15 16 17 18 19 20 |
# File 'lib/ttk/strategies/Proxy.rb', line 15 def create ( anObject, &block ) unless @contents.empty? raise ArgumentError, "A proxy can contain only one test" end super end |