class String

  1. lib/net/ssh/ruby_compat.rb
Parent: ruby_compat.rb

Methods

Public Instance

  1. bytesize
  2. getbyte
  3. setbyte

Public Instance methods

bytesize ()
[show source]
# File lib/net/ssh/ruby_compat.rb, line 13
def bytesize
  self.size
end
getbyte (index)
[show source]
# File lib/net/ssh/ruby_compat.rb, line 5
def getbyte(index)
  self[index]
end
setbyte (index, c)
[show source]
# File lib/net/ssh/ruby_compat.rb, line 8
def setbyte(index, c)
  self[index] = c
end