Class: DocGenerationWrapper::Wrapper

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/doc_generation_wrapper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWrapper

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

#adapterObject (readonly)

Returns the value of attribute adapter.



33
34
35
# File 'lib/doc_generation_wrapper.rb', line 33

def adapter
  @adapter
end