class Specinfra::Command::Openbsd::Base::RoutingTable

Public Class Methods

check_has_entry(destination) click to toggle source
# File lib/specinfra/command/openbsd/base/routing_table.rb, line 3
def check_has_entry(destination)
  "route -n show -gateway | egrep '^#{destination}' | head -1"
end
Also aliased as: get_entry
get_entry(destination)
Alias for: check_has_entry