Sha256: 54f86c9bcd6bd5078ad6cfe01c39917d59fd6daf8020e58ac5cae47af31a2b0d

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

require 'roo_on_rails/checks/base'

module RooOnRails
  module Checks
    module Documentation
      class Playbook < Base
        LOCATION = 'PLAYBOOK.md'.freeze

        def intro
          'Looking for an on-call Playbook...'
        end

        def call
          if File.exist?(LOCATION)
            pass 'playbook found, legion on-call engineers thank you.'
          else
            fail! "please create a playbook at #{LOCATION}."
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roo_on_rails-1.7.0 lib/roo_on_rails/checks/documentation/playbook.rb
roo_on_rails-1.6.0 lib/roo_on_rails/checks/documentation/playbook.rb