Class: Inspec::FuncTestRunResult
- Inherits:
-
Object
- Object
- Inspec::FuncTestRunResult
- Extended by:
- Forwardable
- Defined in:
- lib/plugins/shared/core_plugin_test_helper.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#train_result ⇒ Object
readonly
Returns the value of attribute train_result.
Instance Method Summary collapse
-
#initialize(train_result) ⇒ FuncTestRunResult
constructor
A new instance of FuncTestRunResult.
Constructor Details
#initialize(train_result) ⇒ FuncTestRunResult
Returns a new instance of FuncTestRunResult.
32 33 34 35 |
# File 'lib/plugins/shared/core_plugin_test_helper.rb', line 32 def initialize(train_result) @train_result = train_result @payload = OpenStruct.new end |
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload.
25 26 27 |
# File 'lib/plugins/shared/core_plugin_test_helper.rb', line 25 def payload @payload end |
#train_result ⇒ Object (readonly)
Returns the value of attribute train_result.
24 25 26 |
# File 'lib/plugins/shared/core_plugin_test_helper.rb', line 24 def train_result @train_result end |