Class: Picky::Wrappers::Bundle::Wrapper

Inherits:
Object
  • Object
show all
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

Calculation, ExactPartial

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bundleObject (readonly)

Returns the value of attribute bundle.



17
18
19
# File 'lib/picky/wrappers/bundle/wrapper.rb', line 17

def bundle
  @bundle
end