Class: CucumberJunitToJson::Models::Feature

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

Overview

Abstract representation of a cucumber feature attribute

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFeature



10
11
12
# File 'lib/cucumber_junit_to_json/models/feature.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/feature.rb', line 9

def description
  @description
end

#elementsObject

Returns the value of attribute elements.



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

def elements
  @elements
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#keywordObject

Returns the value of attribute keyword.



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

def keyword
  @keyword
end

#lineObject

Returns the value of attribute line.



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

def line
  @line
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

#uriObject

Returns the value of attribute uri.



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

def uri
  @uri
end