Class: GherkinLint::Error
Overview
entity value class for errors
Instance Attribute Summary
Attributes inherited from Issue
#description, #name, #references
Instance Method Summary collapse
Methods inherited from Issue
Constructor Details
This class inherits a constructor from GherkinLint::Issue
Instance Method Details
#render ⇒ Object
18 19 20 21 22 23 |
# File 'lib/gherkin_lint/issue.rb', line 18 def render result = red(@name) result += " - #{@description}" unless @description.nil? result += "\n " + green(@references.uniq * "\n ") result end |