Class: Featurer::AdapterProxy
- Inherits:
-
Object
- Object
- Featurer::AdapterProxy
- Defined in:
- lib/featurer/adapter_proxy.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
readonly
Returns the value of attribute adapter.
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ AdapterProxy
constructor
A new instance of AdapterProxy.
Constructor Details
#initialize(config = {}) ⇒ AdapterProxy
Returns a new instance of AdapterProxy.
6 7 8 |
# File 'lib/featurer/adapter_proxy.rb', line 6 def initialize(config = {}) initialize_adapter(.merge(config)) end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
4 5 6 |
# File 'lib/featurer/adapter_proxy.rb', line 4 def adapter @adapter end |