Class: CucumberJunitToJson::Models::Match

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

Overview

Abstract representation of a cucumber step definition match attribute

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argumentsObject

Returns the value of attribute arguments.



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

def arguments
  @arguments
end

#locationObject

Returns the value of attribute location.



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

def location
  @location
end