Sha256: 8ebaaf94747fcf94b5958e9354ee6ae724616c624f51816490db27328b3ca4a2
Contents?: true
Size: 461 Bytes
Versions: 29
Compression:
Stored size: 461 Bytes
Contents
module W3Clove class MockedValidator attr_accessor :errors, :warnings def initialize @errors, @warnings = [], [] end def add_error(message_id, line, message) @errors << W3Clove::MockedMessage.new(message_id, line, message) end def add_warning(message_id, line, message) @warnings << W3Clove::MockedMessage.new(message_id, line, message) end end MockedMessage = Struct.new(:message_id, :line, :message) end
Version data entries
29 entries across 29 versions & 1 rubygems