Module: AssMaintainer::InfoBase::Interfaces::IbDestroyer

Included in:
FileIb::FileBaseDestroyer, ServerIb::ServerBaseDestroyer
Defined in:
lib/ass_maintainer/info_base/interfaces.rb

Overview

Interface for class which destroy InfoBase Class must implement #entry_point methodmodule Fixtures

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#infobaseObject (readonly)

Returns the value of attribute infobase.



23
24
25
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 23

def infobase
  @infobase
end

Instance Method Details

#entry_pointObject



29
30
31
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 29

def entry_point
  fail NotImplementedError
end

#execute(infobase) ⇒ Object



24
25
26
27
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 24

def execute(infobase)
  @infobase = infobase
  entry_point
end