Sha256: 78fe1e712ed01ef352f31856aeba29fb1bfff16b4b6bfbbc582afec54840c5a8

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

# -*- encoding: utf-8 -*-

module W3Clove
  ##
  # A message holds a message_id, a line, a text and a type
  #
  # message_id... corresponds to the W3C messages list from
  #               http://validator.w3.org/docs/errors.html
  # line......... line number where the error was detected
  #               on the page that created it
  # text......... generic but descriptive text about the error
  # type......... can be :error or :warning
  #
  Message = Struct.new(:message_id, :line, :text, :type)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
w3clove-0.3.0 lib/w3clove/message.rb
w3clove-0.2.1 lib/w3clove/message.rb
w3clove-0.0.2 lib/w3clove/message.rb