Flowdock
method

validate

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: RailsGuides::Validator
validate() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/guides/w3c_validator.rb, line 36
    def validate
      validator = MarkupValidator.new
      STDOUT.sync = true
      errors_on_guides = {}

      guides_to_validate.each do |f|
        results = validator.validate_file(f)

        if results.validity
          print "."
        else
          print "E"
          errors_on_guides[f] = results.errors
        end
      end

      show_results(errors_on_guides)
    end
Register or log in to add new notes.