Module: Casting::MissingMethodClientClass::InstanceMethods
- Defined in:
- lib/casting/missing_method_client_class.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &block) ⇒ Object (private)
15 16 17 18 19 20 21 |
# File 'lib/casting/missing_method_client_class.rb', line 15 def method_missing(meth, *args, &block) if !!method_class_delegate(meth) delegate(meth, method_class_delegate(meth), *args, &block) else super end end |