Sha256: 594f7d90ff7d854cde3c124cf8ca10cc9dba185e4d6c105fe3f1aea153343bc4

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

class Specinfra::Command::Base::RoutingTable < Specinfra::Command::Base
  def check_has_entry(destination)
    "ip route | grep -E '^#{destination} |^default '"
  end

  alias :get_entry :check_has_entry
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta15 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.0.beta14 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.0.beta13 lib/specinfra/command/base/routing_table.rb