Class: TFTP::Packet::ERROR
- Inherits:
-
Object
- Object
- TFTP::Packet::ERROR
- Defined in:
- lib/tftp/tftp.rb
Instance Method Summary collapse
Instance Method Details
#to_str ⇒ Object
52 |
# File 'lib/tftp/tftp.rb', line 52 def to_str; "\x00\x05" + [self.code].pack('n') + self.msg + "\x00"; end |