Method: ObjectProxy#method_missing
- Defined in:
- lib/object_proxy.rb
#method_missing(method, *args, &block) ⇒ Object (protected)
delegate nearly all method calls to the @target object
37 38 39 |
# File 'lib/object_proxy.rb', line 37 def method_missing(method, *args, &block) @target.send(method, *args, &block) end |