Class: Allure::Globals
- Defined in:
- lib/allure_ruby_commons/model/globals.rb
Overview
Allure model run-level globals chunk
Instance Attribute Summary collapse
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#errors ⇒ Object
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(attachments: [], errors: []) ⇒ Globals
constructor
A new instance of Globals.
Methods inherited from JSONable
Constructor Details
#initialize(attachments: [], errors: []) ⇒ Globals
Returns a new instance of Globals.
8 9 10 11 12 13 |
# File 'lib/allure_ruby_commons/model/globals.rb', line 8 def initialize(attachments: [], errors: []) super() = @errors = errors end |
Instance Attribute Details
#attachments ⇒ Object
Returns the value of attribute attachments.
15 16 17 |
# File 'lib/allure_ruby_commons/model/globals.rb', line 15 def end |
#errors ⇒ Object
Returns the value of attribute errors.
15 16 17 |
# File 'lib/allure_ruby_commons/model/globals.rb', line 15 def errors @errors end |