Class: YardJunk::Logger::SyntaxError

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, #message

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

#severityObject

Honestly, IDK why YARD considers it “warning”… So, rewriting



183
184
185
# File 'lib/yard-junk/logger/message.rb', line 183

def severity
  :error
end