I have two methods defined in my ruby file.
def is_mandatory(string) puts xyz end def is_alphabets(string) puts abc end
An
Best way is probably:
methods.each { |methodName| send(methodName, 'abc') }
See Object#send