Class: Inferno::DSL::Configurable::Configuration
- Inherits:
-
Object
- Object
- Inferno::DSL::Configurable::Configuration
- Defined in:
- lib/inferno/dsl/configurable.rb
Overview
This class stores a runnable’s configuration. It should never be
directly instantiated within a test suite. Instead, a runnable’s
configuration can be modified or retrieved using the config
method.
Instance Attribute Summary collapse
-
#configuration ⇒ Object
Returns the value of attribute configuration.
Instance Method Summary collapse
-
#inputs ⇒ Hash
The input configuration for this runnable.
-
#options ⇒ Hash
The configuration options defined for this runnable.
-
#outputs ⇒ Hash
The output configuration for this runnable.
-
#requests ⇒ Hash
The request configuration for this runnable.
Instance Attribute Details
#configuration ⇒ Object
Returns the value of attribute configuration.
100 101 102 |
# File 'lib/inferno/dsl/configurable.rb', line 100 def configuration @configuration end |
Instance Method Details
#inputs ⇒ Hash
The input configuration for this runnable.
135 136 137 |
# File 'lib/inferno/dsl/configurable.rb', line 135 def inputs configuration[:inputs] ||= {} end |
#options ⇒ Hash
The configuration options defined for this runnable.
126 127 128 |
# File 'lib/inferno/dsl/configurable.rb', line 126 def configuration[:options] ||= {} end |
#outputs ⇒ Hash
The output configuration for this runnable.
183 184 185 |
# File 'lib/inferno/dsl/configurable.rb', line 183 def outputs configuration[:outputs] ||= {} end |
#requests ⇒ Hash
The request configuration for this runnable.
223 224 225 |
# File 'lib/inferno/dsl/configurable.rb', line 223 def requests configuration[:requests] ||= {} end |