I have this code:

case classname
when 'Faculty'
    f = Faculty.new
when 'Student'
    f = Student.new
# etc.

How can I automatically get the class from the string that contains
its name? I'm looking for something like Object#method, except that it
gives me a class instead of a method.