Class: Git::Lint::Reporters::Line
- Inherits:
-
Object
- Object
- Git::Lint::Reporters::Line
- Defined in:
- lib/git/lint/reporters/line.rb
Overview
Reports issues related to an invalid line within the commit body.
Constant Summary collapse
- DEFAULT_INDENT =
" "
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ Line
constructor
A new instance of Line.
- #to_s ⇒ Object
Constructor Details
#initialize(data = {}) ⇒ Line
Returns a new instance of Line.
10 11 12 |
# File 'lib/git/lint/reporters/line.rb', line 10 def initialize data = {} @data = data end |