I have two methods defined in my ruby file.
def is_mandatory(string) puts xyz end def is_alphabets(string) puts abc end
An
Try using "send".
methods.each do |method| self.send(method, "abc") end