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