Class: CucumberJunitToJson::Models::Scenario
- Inherits:
-
Object
- Object
- CucumberJunitToJson::Models::Scenario
- Defined in:
- lib/cucumber_junit_to_json/models/scenario.rb
Overview
Abstract representation of a cucumber scenario attribute
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#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.
-
#steps ⇒ Object
Returns the value of attribute steps.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#type ⇒ Object
Returns the value of attribute type.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize ⇒ Scenario
constructor
A new instance of Scenario.
Constructor Details
#initialize ⇒ Scenario
Returns a new instance of Scenario.
10 11 12 |
# File 'lib/cucumber_junit_to_json/models/scenario.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/scenario.rb', line 9 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/scenario.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/scenario.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/scenario.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/scenario.rb', line 9 def name @name end |
#steps ⇒ Object
Returns the value of attribute steps.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9 def steps @steps end |
#tags ⇒ Object
Returns the value of attribute tags.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9 def @tags end |
#type ⇒ Object
Returns the value of attribute type.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9 def type @type end |
#uri ⇒ Object
Returns the value of attribute uri.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9 def uri @uri end |