Class: AdLint::ErrorMessage
Overview
DESCRIPTION
Syntactical error message.
Instance Attribute Summary
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(msg_catalog, msg_name, loc, *parts) ⇒ ErrorMessage
constructor
A new instance of ErrorMessage.
- #must_be_deferred? ⇒ Boolean
- #must_be_unique? ⇒ Boolean
Methods inherited from Message
#complement_with, #eql?, #hash, #id, #print_as_csv, #print_as_str, #to_s
Constructor Details
#initialize(msg_catalog, msg_name, loc, *parts) ⇒ ErrorMessage
Returns a new instance of ErrorMessage.
189 190 191 |
# File 'lib/adlint/message.rb', line 189 def initialize(msg_catalog, msg_name, loc, *parts) super(msg_catalog.lookup(MessageId.new("core", msg_name)), loc, *parts) end |
Instance Method Details
#must_be_deferred? ⇒ Boolean
197 198 199 |
# File 'lib/adlint/message.rb', line 197 def must_be_deferred? false end |
#must_be_unique? ⇒ Boolean
193 194 195 |
# File 'lib/adlint/message.rb', line 193 def must_be_unique? false end |