Sha256: 7881020e85eb1389280a981255c4c60f8086abdac9b6be3255fb9c8ecece0b8b
Contents?: true
Size: 255 Bytes
Versions: 2
Compression:
Stored size: 255 Bytes
Contents
module Throttle module Ipfw def ipfw(args) `sudo ipfw #{args}` end def parse_pipe_id(str) if /^\d{5} pipe (\d*) .*$/.match(str) Regexp.last_match(1).to_i else nil end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
throttle-0.0.2 | lib/throttle/ipfw.rb |
throttle-0.0.1 | lib/throttle/ipfw.rb |