Module: Overcommit::GitHook::HookRegistry
- Included in:
- AuthorName, CausesEmail, ChangeID, CoffeeLint, CssLinter, ErbSyntax, HamlSyntax, HardTabs, JSConsoleLog, JSSyntax, PythonFlake8, ReleaseNote, RestrictedPaths, RubyStyle, RubySyntax, RussianNovel, ScssLint, SingleLineSubject, TestHistory, TextWidth, TrailingPeriod, Whitespace, YamlSyntax
- Defined in:
- lib/overcommit/hook_specific_check.rb
Class Attribute Summary collapse
-
.checks ⇒ Object
readonly
Returns the value of attribute checks.
Class Method Summary collapse
Class Attribute Details
.checks ⇒ Object (readonly)
Returns the value of attribute checks.
6 7 8 |
# File 'lib/overcommit/hook_specific_check.rb', line 6 def checks @checks end |
Class Method Details
.included(base) ⇒ Object
8 9 10 |
# File 'lib/overcommit/hook_specific_check.rb', line 8 def included(base) @checks << base end |