Class: VerifyDocs

Inherits:
Object
  • Object
show all
Defined in:
lib/verify_docs.rb

Class Method Summary collapse

Class Method Details

.callObject


2
3
4
5
6
# File 'lib/verify_docs.rb', line 2

def self.call
  readme_content = File.read("README.md").lines[2..-1]
  docs_content = File.read("docs/index.md").lines[4..-1]
  readme_content == docs_content
end