Class: Docurium::Warning::MissingDocumentation

Inherits:
Docurium::Warning show all
Defined in:
lib/docurium.rb

Constant Summary

Constants inherited from Docurium::Warning

WARNINGS

Instance Attribute Summary

Attributes inherited from Docurium::Warning

#column, #file, #identifier, #line, #type, #warning

Instance Method Summary collapse

Methods inherited from Docurium::Warning

#message

Constructor Details

#initialize(type, identifier, opts = {}) ⇒ MissingDocumentation

Returns a new instance of MissingDocumentation.


261
262
263
# File 'lib/docurium.rb', line 261

def initialize(type, identifier, opts = {})
  super :missing_documentation, type, identifier, opts
end

Instance Method Details

#_messageObject


265
266
267
# File 'lib/docurium.rb', line 265

def _message
  ["%s %s is missing documentation", :type, :identifier]
end