Class: TFTP::Packet::ERROR

Inherits:
Object
  • Object
show all
Defined in:
lib/tftp/tftp.rb

Instance Method Summary collapse

Instance Method Details

#to_strObject


52
# File 'lib/tftp/tftp.rb', line 52

def to_str; "\x00\x05" + [self.code].pack('n') + self.msg + "\x00"; end