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)
14 15 16 17 18 19 20 21 |
# File 'lib/casting/missing_method_client_class.rb', line 14 def method_missing(meth, *args, &block) attendant = method_class_delegate(meth) if !!attendant cast(meth, attendant, *args, &block) else super end end |