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
-
#infobase ⇒ Object
readonly
Returns the value of attribute infobase.
Instance Method Summary collapse
Instance Attribute Details
#infobase ⇒ Object (readonly)
Returns the value of attribute infobase.
30 31 32 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 30 def infobase @infobase end |
Instance Method Details
#entry_point ⇒ Object
36 37 38 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 36 def entry_point fail NotImplementedError end |
#execute(infobase) ⇒ Object
31 32 33 34 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 31 def execute(infobase) @infobase = infobase entry_point end |