Class: Gherkin::Formatter::Model::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/gherkin/formatter/model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, error_message, arguments, stepdef_location) ⇒ Result

Returns a new instance of Result.



225
226
227
# File 'lib/gherkin/formatter/model.rb', line 225

def initialize(status, error_message, arguments, stepdef_location)
  @status, @error_message, @arguments, @stepdef_location = status, error_message, arguments, stepdef_location
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



223
224
225
# File 'lib/gherkin/formatter/model.rb', line 223

def arguments
  @arguments
end

#error_messageObject (readonly)

Returns the value of attribute error_message.



223
224
225
# File 'lib/gherkin/formatter/model.rb', line 223

def error_message
  @error_message
end

#statusObject (readonly)

Returns the value of attribute status.



223
224
225
# File 'lib/gherkin/formatter/model.rb', line 223

def status
  @status
end

#stepdef_locationObject (readonly)

Returns the value of attribute stepdef_location.



223
224
225
# File 'lib/gherkin/formatter/model.rb', line 223

def stepdef_location
  @stepdef_location
end