Class: Gherkin::Formatter::Model::Result
- Inherits:
-
Object
- Object
- Gherkin::Formatter::Model::Result
- Defined in:
- lib/gherkin/formatter/model.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#error_message ⇒ Object
readonly
Returns the value of attribute error_message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#stepdef_location ⇒ Object
readonly
Returns the value of attribute stepdef_location.
Instance Method Summary collapse
-
#initialize(status, error_message, arguments, stepdef_location) ⇒ Result
constructor
A new instance of Result.
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, , arguments, stepdef_location) @status, @error_message, @arguments, @stepdef_location = status, , arguments, stepdef_location end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
223 224 225 |
# File 'lib/gherkin/formatter/model.rb', line 223 def arguments @arguments end |
#error_message ⇒ Object (readonly)
Returns the value of attribute error_message.
223 224 225 |
# File 'lib/gherkin/formatter/model.rb', line 223 def @error_message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
223 224 225 |
# File 'lib/gherkin/formatter/model.rb', line 223 def status @status end |
#stepdef_location ⇒ Object (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 |