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