Class: Yard::Lint::Validators::Documentation::EmptyCommentLine::Result
- Inherits:
-
Results::Base
- Object
- Results::Base
- Yard::Lint::Validators::Documentation::EmptyCommentLine::Result
- Defined in:
- lib/yard/lint/validators/documentation/empty_comment_line/result.rb
Overview
Result builder for empty comment line violations
Instance Attribute Summary
Attributes inherited from Results::Base
Instance Method Summary collapse
-
#build_message(offense) ⇒ String
Build human-readable message for empty comment line offense.
Methods inherited from Results::Base
#count, #each, #empty?, #initialize, #map, #validator_name
Constructor Details
This class inherits a constructor from Yard::Lint::Results::Base
Instance Method Details
#build_message(offense) ⇒ String
Build human-readable message for empty comment line offense
17 18 19 |
# File 'lib/yard/lint/validators/documentation/empty_comment_line/result.rb', line 17 def (offense) MessagesBuilder.call(offense) end |