Sha256: 10e80708c84905c3dfbfab92916a3645c50683aa244965a0a6cda37cbb000b8f

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

require "net/ip/version"
require "net/ip/route/collection"
require "net/ip/rule/collection"

module Net
  module IP
    # Get list of routes
    # @return {Route::Collection}
    def self.routes
      Route::Collection.new
    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.6 lib/net/ip.rb
net-ip-0.0.5 lib/net/ip.rb