Class: GherkinLint::Issue
- Inherits:
-
Object
- Object
- GherkinLint::Issue
- Includes:
- Term::ANSIColor
- Defined in:
- lib/gherkin_lint/issue.rb
Overview
entity value class for issues
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#references ⇒ Object
readonly
Returns the value of attribute references.
Instance Method Summary collapse
-
#initialize(name, references, description = nil) ⇒ Issue
constructor
A new instance of Issue.
Constructor Details
#initialize(name, references, description = nil) ⇒ Issue
Returns a new instance of Issue.
9 10 11 12 13 |
# File 'lib/gherkin_lint/issue.rb', line 9 def initialize(name, references, description = nil) @name = name @references = references @description = description end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
7 8 9 |
# File 'lib/gherkin_lint/issue.rb', line 7 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/gherkin_lint/issue.rb', line 7 def name @name end |
#references ⇒ Object (readonly)
Returns the value of attribute references.
7 8 9 |
# File 'lib/gherkin_lint/issue.rb', line 7 def references @references end |