I have 2 methods -- Add and Delete -- I was wanting to call them using user input.
So instead of this long code
def delete; end
def add; end
Something like this:
def a puts "1" end def b puts "2" end while true eval(gets.chomp) end