Class: Allure::Label
- Defined in:
- lib/allure_ruby_commons/model/label.rb
Overview
Allure model label object
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, value) ⇒ Label
constructor
A new instance of Label.
Methods inherited from JSONable
Constructor Details
#initialize(name, value) ⇒ Label
Returns a new instance of Label.
6 7 8 9 10 11 |
# File 'lib/allure_ruby_commons/model/label.rb', line 6 def initialize(name, value) super() @name = name @value = value end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/allure_ruby_commons/model/label.rb', line 13 def name @name end |
#value ⇒ Object
Returns the value of attribute value.
13 14 15 |
# File 'lib/allure_ruby_commons/model/label.rb', line 13 def value @value end |