Class: Yard::Lint::Validators::Documentation::OrphanedDocComment::MessagesBuilder
- Inherits:
-
Object
- Object
- Yard::Lint::Validators::Documentation::OrphanedDocComment::MessagesBuilder
- Defined in:
- lib/yard/lint/validators/documentation/orphaned_doc_comment/messages_builder.rb
Overview
Builds messages for orphaned documentation comment offenses
Class Method Summary collapse
-
.call(offense) ⇒ String
Formatted message.
Class Method Details
.call(offense) ⇒ String
Returns formatted message.
13 14 15 16 |
# File 'lib/yard/lint/validators/documentation/orphaned_doc_comment/messages_builder.rb', line 13 def call(offense) = Array(offense[:tags]).join(', ') "Documentation comment with #{} is orphaned - YARD will ignore it" end |