Class: Time
- Inherits:
-
Object
- Object
- Time
- Defined in:
- lib/pcap_misc.rb
Instance Method Summary collapse
-
#tcpdump ⇒ Object
tcpdump style format.
Instance Method Details
#tcpdump ⇒ Object
tcpdump style format
111 112 113 |
# File 'lib/pcap_misc.rb', line 111 def tcpdump sprintf "%0.2d:%0.2d:%0.2d.%0.6d", hour, min, sec, tv_usec end |