Class: W3CValidators::Validator
- Inherits:
-
Object
- Object
- W3CValidators::Validator
- Defined in:
- lib/w3c_validators/validator.rb
Overview
Base class for MarkupValidator and FeedValidator.
Direct Known Subclasses
Constant Summary collapse
- VERSION =
'0.9.3'
- USER_AGENT =
"Ruby W3C Validators/#{Validator::VERSION} (http://code.dunae.ca/w3c_validators/)"
- HEAD_STATUS_HEADER =
'X-W3C-Validator-Status'
- HEAD_ERROR_COUNT_HEADER =
'X-W3C-Validator-Errors'
- SOAP_OUTPUT_PARAM =
'soap12'
Instance Attribute Summary collapse
-
#results ⇒ Object
readonly
Returns the value of attribute results.
-
#validator_uri ⇒ Object
readonly
Returns the value of attribute validator_uri.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Validator
constructor
Create a new instance of the Validator.
Constructor Details
#initialize(options = {}) ⇒ Validator
Create a new instance of the Validator.
23 24 25 |
# File 'lib/w3c_validators/validator.rb', line 23 def initialize( = {}) @options = end |
Instance Attribute Details
#results ⇒ Object (readonly)
Returns the value of attribute results.
20 21 22 |
# File 'lib/w3c_validators/validator.rb', line 20 def results @results end |
#validator_uri ⇒ Object (readonly)
Returns the value of attribute validator_uri.
20 21 22 |
# File 'lib/w3c_validators/validator.rb', line 20 def validator_uri @validator_uri end |