Class: YardJunk::Logger::Undocumentable

Inherits:
Message
  • Object
show all
Defined in:
lib/yard-junk/logger/message.rb

Constant Summary

Constants inherited from Message

Message::DEFAULT_FORMAT

Instance Attribute Summary

Attributes inherited from Message

#extra, #file, #line, #severity

Instance Method Summary collapse

Methods inherited from Message

#==, #initialize, pattern, registry, search_up, #to_h, #to_s, try_parse, #type, type, valid_type?

Methods included from Spellcheck

#spell_check

Constructor Details

This class inherits a constructor from YardJunk::Logger::Message

Instance Method Details

#messageObject



195
196
197
# File 'lib/yard-junk/logger/message.rb', line 195

def message
  super + ": `#{quote}`"
end

#quoteObject



199
200
201
# File 'lib/yard-junk/logger/message.rb', line 199

def quote
  extra[:quote]
end