From: frank hi Date: 2011-09-01T08:38:29+09:00 Subject: Re: how to pass a variable to a method in an existing class? Martin's answer solved my problem. Basically, I wrote my own method and want to add to the existing class and expected that the "string".convert will pass the "string" to the method. However, I could not find the solution to let the convert method takes the "string" as input. the self pointer solved the issue. Thanks Frank -- Posted via http://www.ruby-forum.com/.