Path: | lib/facets/more/typecast.rb |
Last Update: | Sat Dec 08 02:02:17 +0000 2007 |
Ruby License This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
06.06.2006 - 3v1l d4y
* Removed transformation options. * Removed StringIO typecast. It is not required by default. * Added TypeCastException for better error reporting while coding.
TODO Consider how this might fit in with method signitures, overloading, and expiremental euphoria-like type system. TODO Look to implement to_int, to_mailtext, to_r, to_rfc822text and to_str.