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