Class: Technoweenie::AttachmentFu::Backends::BackendDelegator

Inherits:
Delegator
  • Object
show all
Defined in:
lib/technoweenie/attachment_fu/backends/backend_delegator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_optionsObject

Returns the value of attribute attachment_options.



5
6
7
# File 'lib/technoweenie/attachment_fu/backends/backend_delegator.rb', line 5

def attachment_options
  @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