Method: DumbDelegator#method_missing

Defined in:
lib/dumb_delegator.rb

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



63
64
65
66
67
68
69
# File 'lib/dumb_delegator.rb', line 63

def method_missing(method, *args, &block)
  if __getobj__.respond_to?(method)
    __getobj__.__send__(method, *args, &block)
  else
    super
  end
end