Class: TFTP::Packet::WRQ
- Inherits:
-
Object
- Object
- TFTP::Packet::WRQ
- Defined in:
- lib/tftp/tftp.rb
Instance Method Summary collapse
Instance Method Details
#to_str ⇒ Object
32 |
# File 'lib/tftp/tftp.rb', line 32 def to_str; "\x00\x02" + self.filename + "\x00" + self.mode.to_s + "\x00"; end |