Path: | lib/facets/more/bytes.rb |
Last Update: | Sat Dec 15 01:55:12 +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.
Special thanks to Richard Kilmer for the orignal work. This library is based on the original library bytes.rb Copyright (c) 2004 by Rich Kilmer.
Also thanks to Alexander Kellett for suggesting it be included in Facets.
TODO Currently kilo, mega, etc. are all powers of two and not ten, which technically isn't corrent even though it is common usage. TODO The in_* notation is weak. If a better nomentclature is thought of then consider changing this.