Today I Learned String#demodulize

Do you have a class name string like "Foot::Bar::Example", and you just want the last part? You can call demodulize, a handy ActiveSupport method.

"Foo::Bar::Example".demodulize # "Example"