I have two methods defined in my ruby file.
def is_mandatory(string) puts xyz end def is_alphabets(string) puts abc end
An
You can also add hash to send parameters to the method.
send("method_name", "abc", {add more parameters in this hash})