Class: Specinfra::Command::Base::RoutingTable

Inherits:
Specinfra::Command::Base show all
Defined in:
lib/specinfra/command/base/routing_table.rb

Class Method Summary collapse

Methods inherited from Specinfra::Command::Base

create, escape

Class Method Details

.check_has_entry(destination) ⇒ Object Also known as: get_entry



3
4
5
# File 'lib/specinfra/command/base/routing_table.rb', line 3

def check_has_entry(destination)
  "ip route show #{destination} | grep #{destination}"
end