Sha256: 4eeb4457ef81c09cb674f4b4189411b58848259944f7111bf967f790cf6e4043

Contents?: true

Size: 238 Bytes

Versions: 56

Compression:

Stored size: 238 Bytes

Contents

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

    alias :get_entry :check_has_entry
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
specinfra-2.4.3 lib/specinfra/command/base/routing_table.rb
specinfra-2.4.2 lib/specinfra/command/base/routing_table.rb
specinfra-2.4.1 lib/specinfra/command/base/routing_table.rb
specinfra-2.4.0 lib/specinfra/command/base/routing_table.rb
specinfra-2.3.2 lib/specinfra/command/base/routing_table.rb
specinfra-2.3.1 lib/specinfra/command/base/routing_table.rb
specinfra-2.3.0 lib/specinfra/command/base/routing_table.rb
specinfra-2.2.4 lib/specinfra/command/base/routing_table.rb
specinfra-2.2.3 lib/specinfra/command/base/routing_table.rb
specinfra-2.2.2 lib/specinfra/command/base/routing_table.rb
specinfra-2.2.1 lib/specinfra/command/base/routing_table.rb
specinfra-2.2.0 lib/specinfra/command/base/routing_table.rb
specinfra-2.1.1 lib/specinfra/command/base/routing_table.rb
specinfra-2.1.0 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.4 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.3 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.2 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.1 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.0 lib/specinfra/command/base/routing_table.rb
specinfra-2.0.0.beta52 lib/specinfra/command/base/routing_table.rb