Class: Gitlab::Checks::BaseChecker
- Inherits:
-
Object
- Object
- Gitlab::Checks::BaseChecker
- Includes:
- Utils::StrongMemoize
- Defined in:
- lib/gitlab/checks/base_checker.rb
Direct Known Subclasses
BranchCheck, DiffCheck, LfsCheck, PushCheck, PushFileCountCheck, SnippetCheck, TagCheck
Instance Attribute Summary collapse
-
#change_access ⇒ Object
readonly
Returns the value of attribute change_access.
Instance Method Summary collapse
-
#initialize(change_access) ⇒ BaseChecker
constructor
A new instance of BaseChecker.
- #validate! ⇒ Object
Methods included from Utils::StrongMemoize
#clear_memoization, #strong_memoize, #strong_memoized?
Constructor Details
#initialize(change_access) ⇒ BaseChecker
Returns a new instance of BaseChecker.
11 12 13 |
# File 'lib/gitlab/checks/base_checker.rb', line 11 def initialize(change_access) @change_access = change_access end |
Instance Attribute Details
#change_access ⇒ Object (readonly)
Returns the value of attribute change_access
8 9 10 |
# File 'lib/gitlab/checks/base_checker.rb', line 8 def change_access @change_access end |
Instance Method Details
#validate! ⇒ Object
15 16 17 |
# File 'lib/gitlab/checks/base_checker.rb', line 15 def validate! raise NotImplementedError end |