Class: TFTP::Packet::RRQ
- Inherits:
-
Object
- Object
- TFTP::Packet::RRQ
- Defined in:
- lib/tftp/tftp.rb
Instance Method Summary collapse
-
#to_str ⇒ Object
Convert to binary string.
Instance Method Details
#to_str ⇒ Object
Convert to binary string.
26 |
# File 'lib/tftp/tftp.rb', line 26 def to_str; "\x00\x01" + self.filename + "\x00" + self.mode.to_s + "\x00"; end |