binreadable.rb

Path: lib/more/facets/binreadable.rb
Last Update: Tue Oct 28 06:39:06 -0400 2008

BinReadable

This mixin solely depends on method read(n), which must be defined in the class/module where you mix in this module.

Todo

  • The name of this module sucks.

Authors

  • Michael Neumann

Copying

Copyright (c) 2003 Michael Neumann

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.

Constants

BinaryReader = BinReadable   Compatability with old version.

[Validate]