Class: CucumberJunitToJson::Models::Match
- Inherits:
-
Object
- Object
- CucumberJunitToJson::Models::Match
- Defined in:
- lib/cucumber_junit_to_json/models/match.rb
Overview
Abstract representation of a cucumber step definition match attribute
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#location ⇒ Object
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(location = '', arguments = []) ⇒ Match
constructor
A new instance of Match.
Constructor Details
#initialize(location = '', arguments = []) ⇒ Match
Returns a new instance of Match.
10 11 12 13 |
# File 'lib/cucumber_junit_to_json/models/match.rb', line 10 def initialize(location = '', arguments = []) @location = location @arguments = arguments end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/match.rb', line 9 def arguments @arguments end |
#location ⇒ Object
Returns the value of attribute location.
9 10 11 |
# File 'lib/cucumber_junit_to_json/models/match.rb', line 9 def location @location end |