Class: DocGenerationWrapper::Wrapper
- Inherits:
-
Object
- Object
- DocGenerationWrapper::Wrapper
- Extended by:
- Forwardable
- Defined in:
- lib/doc_generation_wrapper.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
readonly
Returns the value of attribute adapter.
Instance Method Summary collapse
-
#initialize ⇒ Wrapper
constructor
A new instance of Wrapper.
Constructor Details
#initialize ⇒ Wrapper
Returns a new instance of Wrapper.
35 36 37 |
# File 'lib/doc_generation_wrapper.rb', line 35 def initialize @adapter = Adapter::Base.create(DocGenerationWrapper.configuration.adapter) end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
33 34 35 |
# File 'lib/doc_generation_wrapper.rb', line 33 def adapter @adapter end |