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
174 175 176 |
# File 'lib/xspec/data_structures.rb', line 174 def duration @duration end |
#errors ⇒ Object
Returns the value of attribute errors
174 175 176 |
# File 'lib/xspec/data_structures.rb', line 174 def errors @errors end |
#nested_unit_of_work ⇒ Object
Returns the value of attribute nested_unit_of_work
174 175 176 |
# File 'lib/xspec/data_structures.rb', line 174 def nested_unit_of_work @nested_unit_of_work end |
Instance Method Details
#full_name ⇒ Object
177 |
# File 'lib/xspec/data_structures.rb', line 177 def full_name; nested_unit_of_work.full_name end |
#name ⇒ Object
175 |
# File 'lib/xspec/data_structures.rb', line 175 def name; nested_unit_of_work.name end |
#parents ⇒ Object
176 |
# File 'lib/xspec/data_structures.rb', line 176 def parents; nested_unit_of_work.parents end |