Class: SiteValidator::Message
- Inherits:
-
Struct
- Object
- Struct
- SiteValidator::Message
- Defined in:
- lib/site_validator/message.rb
Overview
A message holds a message_id, a line, a text a type and a source (for the code snippet)
See the W3C message explanation list on validator.w3.org/docs/errors.html
Instance Attribute Summary collapse
-
#col ⇒ Object
Returns the value of attribute col.
-
#explanation ⇒ Object
Returns the value of attribute explanation.
-
#line ⇒ Object
Returns the value of attribute line.
-
#message_id ⇒ Object
Returns the value of attribute message_id.
-
#source ⇒ Object
Returns the value of attribute source.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#col ⇒ Object
Returns the value of attribute col
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def col @col end |
#explanation ⇒ Object
Returns the value of attribute explanation
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def explanation @explanation end |
#line ⇒ Object
Returns the value of attribute line
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def line @line end |
#message_id ⇒ Object
Returns the value of attribute message_id
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def @message_id end |
#source ⇒ Object
Returns the value of attribute source
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def source @source end |
#text ⇒ Object
Returns the value of attribute text
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def text @text end |
#type ⇒ Object
Returns the value of attribute type
10 11 12 |
# File 'lib/site_validator/message.rb', line 10 def type @type end |