Module: MemberProfileDelegation::Instance

Defined in:
app/delegations/member_profile_delegation.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_sym, *args) ⇒ Object



3
4
5
6
# File 'app/delegations/member_profile_delegation.rb', line 3

def method_missing(method_sym, *args)
  return member.send(method_sym, *args) if member.respond_to?(method_sym)
  super
end