Class: Pinspec::Runner::Sandbox::Result
- Inherits:
-
Data
- Object
- Data
- Pinspec::Runner::Sandbox::Result
- Defined in:
- lib/pinspec/runner/sandbox.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
-
#observations ⇒ Object
readonly
Returns the value of attribute observations.
-
#plan_id ⇒ Object
readonly
Returns the value of attribute plan_id.
-
#run ⇒ Object
readonly
Returns the value of attribute run.
-
#stderr ⇒ Object
readonly
Returns the value of attribute stderr.
Instance Method Summary collapse
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env
34 35 36 |
# File 'lib/pinspec/runner/sandbox.rb', line 34 def env @env end |
#observations ⇒ Object (readonly)
Returns the value of attribute observations
34 35 36 |
# File 'lib/pinspec/runner/sandbox.rb', line 34 def observations @observations end |
#plan_id ⇒ Object (readonly)
Returns the value of attribute plan_id
34 35 36 |
# File 'lib/pinspec/runner/sandbox.rb', line 34 def plan_id @plan_id end |
#run ⇒ Object (readonly)
Returns the value of attribute run
34 35 36 |
# File 'lib/pinspec/runner/sandbox.rb', line 34 def run @run end |
#stderr ⇒ Object (readonly)
Returns the value of attribute stderr
34 35 36 |
# File 'lib/pinspec/runner/sandbox.rb', line 34 def stderr @stderr end |
Instance Method Details
#observation(case_id) ⇒ Object
35 36 37 |
# File 'lib/pinspec/runner/sandbox.rb', line 35 def observation(case_id) observations.find { |o| o["case_id"] == case_id } end |