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.
102 103 104 |
# File 'lib/inferno/dsl/configurable.rb', line 102 def configuration @configuration end |
Instance Method Details
#inputs ⇒ Hash
The input configuration for this runnable.
137 138 139 |
# File 'lib/inferno/dsl/configurable.rb', line 137 def inputs configuration[:inputs] ||= {} end |
#options ⇒ Hash
The configuration options defined for this runnable.
128 129 130 |
# File 'lib/inferno/dsl/configurable.rb', line 128 def configuration[:options] ||= {} end |
#outputs ⇒ Hash
The output configuration for this runnable.
190 191 192 |
# File 'lib/inferno/dsl/configurable.rb', line 190 def outputs configuration[:outputs] ||= {} end |
#requests ⇒ Hash
The request configuration for this runnable.
230 231 232 |
# File 'lib/inferno/dsl/configurable.rb', line 230 def requests configuration[:requests] ||= {} end |