def vegetableFinder(vegetable) # This function takes a hashmap of vegetables and attempts to # find them from our grocery database. For each item found, we # call our 'makevegetablesoup' function. # Load all required gems require "rubygems" require "jdbc/mysql" require "java" begin # Prep the connection Java::com.mysql.jdbc.Driver userurl = "jdbc:mysql://HOST/DATABASE" connSelect = java.sql.Driver