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.
5 6 7 |
# File 'lib/featurer/adapter_proxy.rb', line 5 def initialize(config = {}) initialize_adapter(.merge(config)) end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
3 4 5 |
# File 'lib/featurer/adapter_proxy.rb', line 3 def adapter @adapter end |