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
22
# File 'lib/casting/missing_method_client_class.rb', line 15

def method_missing(meth, *args, &block)
  attendant = method_class_delegate(meth)
  if !!attendant
    delegate(meth, attendant, *args, &block)
  else
    super
  end
end