Modify Class::Enum->from_ordinal, use `__values` instead of `values %{$definition->{value_of}}`.
Merge pull request #4 from NetPenguin/refactor/from-ordinal

Modify Class::Enum->from_ordinal, use `__values` instead of `values %{$definition->{value_of}}`.