Method: PacketGen::Header::SCTP::InitChunk#to_human
- Defined in:
- lib/packetgen/header/sctp/chunk.rb
#to_human ⇒ String
Get human-redable description.
252 253 254 255 256 257 258 |
# File 'lib/packetgen/header/sctp/chunk.rb', line 252 def to_human str = "<chunk:#{human_type}" flags_str = flags_to_human str << ",flags:#{flags_str}" unless flags_str.empty? str << ",param:#{parameters.map(&:to_human).join(',')}" unless parameters.empty? str << '>' end |