Class: Specinfra::Command::Freebsd::Base::RoutingTable
- Inherits:
-
Base::RoutingTable
- Object
- Base
- Base::RoutingTable
- Specinfra::Command::Freebsd::Base::RoutingTable
- Defined in:
- lib/specinfra/command/freebsd/base/routing_table.rb
Class Method Summary collapse
- .check_has_entry(destination) ⇒ Object (also: get_entry)
Methods inherited from Base
Class Method Details
.check_has_entry(destination) ⇒ Object Also known as: get_entry
3 4 5 |
# File 'lib/specinfra/command/freebsd/base/routing_table.rb', line 3 def check_has_entry(destination) %Q{netstat -rnW | grep #{destination} | awk '{print $1, "via", $2, "dev", $6, " "}'} end |