module Net::IP

Constants

VERSION

Public Class Methods

routes(table = "main") click to toggle source

Get list of routes @param table {String} The name of the routing table @return {Route::Collection}

# File lib/net/ip.rb, line 10
def self.routes(table = "main")
  Route::Collection.new(table)
end
rules() click to toggle source

Get list of rules @return {Rule::Collection}

# File lib/net/ip.rb, line 16
def self.rules
  Rule::Collection.new
end