Sha256: 348e57cb6c5f2f04abc8806c5eed194c71cfb3368001546b58c56819ac7c8e27
Contents?: true
Size: 334 Bytes
Versions: 1
Compression:
Stored size: 334 Bytes
Contents
require "interfacez" require "pcapz/version" require "pcapz/capture" module Pcapz def self.capture if RUBY_PLATFORM =~ /linux/ return Capture::Linux elsif RUBY_PLATFORM =~ /darwin|freebsd|netbsd/ return Capture::BSD else raise "This platform #{RUBY_PLATFORM} is not yet supported!" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pcapz-1.0.1 | lib/pcapz.rb |