verify_docs.rb 224 B

12345678
  1. # frozen_string_literal: true
  2. class VerifyDocs
  3. def self.call
  4. readme_content = File.read("README.md").lines[2..-1]
  5. docs_content = File.read("docs/index.md").lines[4..-1]
  6. readme_content == docs_content
  7. end
  8. end