Class: Picky::Wrappers::Bundle::Wrapper
- Includes:
- Delegator, IndexedDelegator, IndexingDelegator
- Defined in:
- lib/picky/wrappers/bundle/wrapper.rb
Overview
Base wrapper. Just forwards all methods to the bundle.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#bundle ⇒ Object
readonly
Returns the value of attribute bundle.
Instance Method Summary collapse
-
#initialize(bundle) ⇒ Wrapper
constructor
A new instance of Wrapper.
Constructor Details
#initialize(bundle) ⇒ Wrapper
Returns a new instance of Wrapper.
19 20 21 |
# File 'lib/picky/wrappers/bundle/wrapper.rb', line 19 def initialize bundle @bundle = bundle end |
Instance Attribute Details
#bundle ⇒ Object (readonly)
Returns the value of attribute bundle.
17 18 19 |
# File 'lib/picky/wrappers/bundle/wrapper.rb', line 17 def bundle @bundle end |