9 lines
123 B
Ruby
9 lines
123 B
Ruby
# -*- coding: binary -*-
|
|
class String
|
|
if RUBY_VERSION < "1.9"
|
|
def getbyte(index)
|
|
self[index]
|
|
end
|
|
end
|
|
end
|