Class: FmStore::Associations::Proxy
- Inherits:
-
Object
- Object
- FmStore::Associations::Proxy
- Defined in:
- lib/fm_store/associations/proxy.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
11 12 13 |
# File 'lib/fm_store/associations/proxy.rb', line 11 def method_missing(name, *args, &block) @target.send(name, *args, &block) end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
9 10 11 |
# File 'lib/fm_store/associations/proxy.rb', line 9 def @options end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
9 10 11 |
# File 'lib/fm_store/associations/proxy.rb', line 9 def target @target end |