Files
metasploit-gs/lib/net/ssh/ruby_compat.rb
T

8 lines
98 B
Ruby
Raw Normal View History

class String
if RUBY_VERSION < "1.9"
def getbyte(index)
self[index]
end
end
2012-04-15 23:35:38 -05:00
end