Class: XSpec::ExecutedUnitOfWork
- Inherits:
-
Struct
- Object
- Struct
- XSpec::ExecutedUnitOfWork
- Defined in:
- lib/xspec/data_structures.rb
Overview
The result of executing a unit of work, including timing information. This is passed to notifiers for display or other processing.
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#nested_unit_of_work ⇒ Object
Returns the value of attribute nested_unit_of_work.
Instance Method Summary collapse
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration
170 171 172 |
# File 'lib/xspec/data_structures.rb', line 170 def duration @duration end |
#errors ⇒ Object
Returns the value of attribute errors
170 171 172 |
# File 'lib/xspec/data_structures.rb', line 170 def errors @errors end |
#nested_unit_of_work ⇒ Object
Returns the value of attribute nested_unit_of_work
170 171 172 |
# File 'lib/xspec/data_structures.rb', line 170 def nested_unit_of_work @nested_unit_of_work end |
Instance Method Details
#name ⇒ Object
171 |
# File 'lib/xspec/data_structures.rb', line 171 def name; nested_unit_of_work.name end |
#parents ⇒ Object
172 |
# File 'lib/xspec/data_structures.rb', line 172 def parents; nested_unit_of_work.parents end |