move fits_u8 to integer constant (from numberic)

This commit is contained in:
Torsten Ruger
2014-09-17 16:23:29 +03:00
parent 95c7e44342
commit e7f7f9c319
6 changed files with 9 additions and 12 deletions

View File

@@ -1,9 +1,3 @@
class Numeric
def fits_u8?
self >= 0 and self <= 255
end
end
module StreamReader
def read_binary(size, count, type)
d = __sr_read(size*count)