Module: AssMaintainer::InfoBase::Interfaces::IbMaker
- Included in:
- DefaultMaker
- Defined in:
- lib/ass_maintainer/info_base/interfaces.rb
Overview
Interface for class which make new 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.
16 17 18 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 16 def infobase @infobase end |
Instance Method Details
#entry_point ⇒ Object
22 23 24 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 22 def entry_point fail NotImplementedError end |
#execute(infobase) ⇒ Object
17 18 19 20 |
# File 'lib/ass_maintainer/info_base/interfaces.rb', line 17 def execute(infobase) @infobase = infobase entry_point end |