Class: Kdep::Doctor::Check

Inherits:
Object
  • Object
show all
Defined in:
lib/kdep/doctor/check.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_dirObject (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

#runObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/kdep/doctor/check.rb', line 10

def run
  raise NotImplementedError, "#{self.class}#run must be overridden"
end