Class: Cyrun::SingleSpecExecutionResult
- Inherits:
-
Object
- Object
- Cyrun::SingleSpecExecutionResult
- Defined in:
- lib/cyrun/single_spec_execution_result.rb
Instance Attribute Summary collapse
-
#net_time_in_seconds ⇒ Object
readonly
Returns the value of attribute net_time_in_seconds.
-
#result_filename ⇒ Object
readonly
Returns the value of attribute result_filename.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
-
#task ⇒ Object
readonly
Returns the value of attribute task.
Instance Method Summary collapse
-
#initialize(task, result_filename, net_time_in_seconds, success) ⇒ SingleSpecExecutionResult
constructor
A new instance of SingleSpecExecutionResult.
Constructor Details
#initialize(task, result_filename, net_time_in_seconds, success) ⇒ SingleSpecExecutionResult
Returns a new instance of SingleSpecExecutionResult.
7 8 9 10 11 12 |
# File 'lib/cyrun/single_spec_execution_result.rb', line 7 def initialize(task, result_filename, net_time_in_seconds, success) @task = task @net_time_in_seconds = net_time_in_seconds @success = success @result_filename = result_filename end |
Instance Attribute Details
#net_time_in_seconds ⇒ Object (readonly)
Returns the value of attribute net_time_in_seconds.
5 6 7 |
# File 'lib/cyrun/single_spec_execution_result.rb', line 5 def net_time_in_seconds @net_time_in_seconds end |
#result_filename ⇒ Object (readonly)
Returns the value of attribute result_filename.
5 6 7 |
# File 'lib/cyrun/single_spec_execution_result.rb', line 5 def result_filename @result_filename end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
5 6 7 |
# File 'lib/cyrun/single_spec_execution_result.rb', line 5 def success @success end |
#task ⇒ Object (readonly)
Returns the value of attribute task.
5 6 7 |
# File 'lib/cyrun/single_spec_execution_result.rb', line 5 def task @task end |