Class: Technoweenie::AttachmentFu::Backends::BackendDelegator
- Inherits:
-
Delegator
- Object
- Delegator
- Technoweenie::AttachmentFu::Backends::BackendDelegator
- Defined in:
- lib/technoweenie/attachment_fu/backends/backend_delegator.rb
Direct Known Subclasses
CloudFileBackend, DbFileBackend, FileSystemBackend, MogileFSBackend, S3Backend
Instance Attribute Summary collapse
-
#attachment_options ⇒ Object
Returns the value of attribute attachment_options.
Instance Method Summary collapse
- #__getobj__ ⇒ Object
-
#initialize(obj, opts) ⇒ BackendDelegator
constructor
A new instance of BackendDelegator.
Constructor Details
#initialize(obj, opts) ⇒ BackendDelegator
Returns a new instance of BackendDelegator.
7 8 9 10 |
# File 'lib/technoweenie/attachment_fu/backends/backend_delegator.rb', line 7 def initialize(obj, opts) @obj = obj @attachment_options = opts end |
Instance Attribute Details
#attachment_options ⇒ Object
Returns the value of attribute attachment_options.
5 6 7 |
# File 'lib/technoweenie/attachment_fu/backends/backend_delegator.rb', line 5 def @attachment_options end |
Instance Method Details
#__getobj__ ⇒ Object
12 13 14 |
# File 'lib/technoweenie/attachment_fu/backends/backend_delegator.rb', line 12 def __getobj__ @obj end |