Class: WayOfWorking::Audit::Github::Rules::Unknown

Inherits:
Base
  • Object
show all
Defined in:
lib/way_of_working/audit/github/rules/unknown.rb

Overview

This is a stub handler for rules that aren’t in the registry.

Instance Attribute Summary

Attributes inherited from Base

#errors, #name, #rulesets, #warnings

Instance Method Summary collapse

Methods inherited from Base

source_root, #status, #tags, tags, #validate

Constructor Details

#initialize(client, repo_name) ⇒ Unknown

Returns a new instance of Unknown.



11
12
13
14
# File 'lib/way_of_working/audit/github/rules/unknown.rb', line 11

def initialize(client, repo_name)
  super
  raise 'Error: Unknown client'
end