class_eval -> module_eval

Both work, but this is more suitable for a module.