Class: CucumberJunitToJson::Models::Feature
- Inherits:
-
Object
- Object
- CucumberJunitToJson::Models::Feature
- Defined in:
- lib/cucumber_junit_to_json/models/feature.rb
Overview
Abstract representation of a cucumber feature attribute
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#id ⇒ Object
Returns the value of attribute id.
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#line ⇒ Object
Returns the value of attribute line.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize ⇒ Feature
constructor
A new instance of Feature.
Constructor Details
#initialize ⇒ Feature
Returns a new instance of Feature.
10 11 12 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 10 def initialize @description = '' end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def description @description end |
#elements ⇒ Object
Returns the value of attribute elements.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def elements @elements end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def id @id end |
#keyword ⇒ Object
Returns the value of attribute keyword.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def keyword @keyword end |
#line ⇒ Object
Returns the value of attribute line.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def line @line end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def name @name end |
#tags ⇒ Object
Returns the value of attribute tags.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def @tags end |
#uri ⇒ Object
Returns the value of attribute uri.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/feature.rb', line 9 def uri @uri end |