Sha256: d0b39220a563bbf4ba35a3d10647a5bf923c8d08302b267d0bd4b364d7b27fcf
Contents?: true
Size: 434 Bytes
Versions: 2
Compression:
Stored size: 434 Bytes
Contents
require "net/ip/version" require "net/ip/route/collection" require "net/ip/rule/collection" module Net module IP # Get list of routes # @param table {String} The name of the routing table # @return {Route::Collection} def self.routes(table = "main") Route::Collection.new(table) end # Get list of rules # @return {Rule::Collection} def self.rules Rule::Collection.new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
net-ip-0.0.8 | lib/net/ip.rb |
net-ip-0.0.7 | lib/net/ip.rb |