9 years, 2 months ago.  This question has been closed. Reason: Unclear question

Attach function in body of a class

Hi. Can someone help me how to use attach function in body of a class?