Symbolism

Convert a class to a symbol, and a symbol to a class.

Installation

# gem install symbolism

Usage

After requiring symbolism in your project, You can now convert any symbol to a class, and any class to a symbol.

String.to_sym #==> :string
:string.to_class #==> String