Class: Perennial::Proxy
Overview
a super simple proxy class.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#__proxy_target__ ⇒ Object
Returns the value of attribute proxy_target.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &blk) ⇒ Object (protected)
11 12 13 |
# File 'lib/perennial/core_ext/proxy.rb', line 11 def method_missing(m, *args, &blk) __proxy_target__.send(m, *args, &blk) end |
Instance Attribute Details
#__proxy_target__ ⇒ Object
Returns the value of attribute proxy_target.
7 8 9 |
# File 'lib/perennial/core_ext/proxy.rb', line 7 def __proxy_target__ @__proxy_target__ end |