You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change behavior of Enum's to_s and to_sym methods (#326)
This changes the behavior of `to_s` and `to_sym` on Enums.
`to_s` returns a humanized version of the demodularized class name, eg:
"Red," "Slate gray," "Spring green"
`to_sym` converts the demodularized class name to a symbol, eg: `:Red`,
`:SlateGray`, `:SPRING_GREEN`
Note that this was deemed a minor breaking change.
---------
Co-authored-by: Joel Drapper <[email protected]>
Co-authored-by: Alexey Zapparov <[email protected]>
0 commit comments