rename_enum(name, new_name = nil, **options)
public

Rename an existing enum type to something else.