Sha256: fc02a5a9328e3b37875ebf2fcab9bfe4f4ca18811732d2eecdb4079b47e2c97f
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
# frozen_string_literal: true module Caramelize module HealthChecks class HomePageCheck attr_reader :gollum def initialize(gollum) @gollum = gollum end def check puts 'Home.md missing' unless has_home_page? end private def has_home_page? gollum.file('Home') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caramelize-1.2.0 | lib/caramelize/health_checks/home_page_check.rb |