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?

Constructor Details

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

Instance Method Details

#messageObject



230
231
232
# File 'lib/yard-junk/logger/message.rb', line 230

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

#quoteObject



234
235
236
# File 'lib/yard-junk/logger/message.rb', line 234

def quote
  extra[:quote]
end