Class: CucumberJunitToJson::Models::Scenario

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber_junit_to_json/models/scenario.rb

Overview

Abstract representation of a cucumber scenario attribute

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeScenario

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

#descriptionObject

Returns the value of attribute description.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def description
  @description
end

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def id
  @id
end

#keywordObject

Returns the value of attribute keyword.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def keyword
  @keyword
end

#lineObject

Returns the value of attribute line.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def line
  @line
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def name
  @name
end

#stepsObject

Returns the value of attribute steps.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def steps
  @steps
end

#tagsObject

Returns the value of attribute tags.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def type
  @type
end

#uriObject

Returns the value of attribute uri.



9
10
11
# File 'lib/cucumber_junit_to_json/models/scenario.rb', line 9

def uri
  @uri
end