Typecast method extensions for Object class.
Cast an object to another
1234.cast_to(String) => "1234"
[Source]
# File lib/more/facets/typecast.rb, line 149 def cast_to(klass) klass.cast_from(self) end
[Validate]