Class: Kdep::Doctor::Check
- Inherits:
-
Object
- Object
- Kdep::Doctor::Check
- Defined in:
- lib/kdep/doctor/check.rb
Direct Known Subclasses
CheckAncestorIgnoresState, CheckGitignoreCanonical, CheckStateGitignored, CheckStateParseable, CheckStatePresent, CheckStateTagFormat
Instance Attribute Summary collapse
-
#deploy_dir ⇒ Object
readonly
Returns the value of attribute deploy_dir.
Instance Method Summary collapse
-
#initialize(deploy_dir) ⇒ Check
constructor
A new instance of Check.
- #run ⇒ Object
Constructor Details
#initialize(deploy_dir) ⇒ Check
Returns a new instance of Check.
6 7 8 |
# File 'lib/kdep/doctor/check.rb', line 6 def initialize(deploy_dir) @deploy_dir = deploy_dir end |
Instance Attribute Details
#deploy_dir ⇒ Object (readonly)
Returns the value of attribute deploy_dir.
4 5 6 |
# File 'lib/kdep/doctor/check.rb', line 4 def deploy_dir @deploy_dir end |
Instance Method Details
#run ⇒ Object
10 11 12 |
# File 'lib/kdep/doctor/check.rb', line 10 def run raise NotImplementedError, "#{self.class}#run must be overridden" end |