Module: ObjectAttorney::Delegation::MissingMethods

Defined in:
lib/object_attorney/delegation.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



7
8
9
# File 'lib/object_attorney/delegation.rb', line 7

def method_missing(method, *args, &block)
  represented_object.send(method, *args, &block)
end