Sha256: 783fa4c60268c1270c8a50a17f67e29f4602f26f38084778034688b0e25e8b0c

Contents?: true

Size: 272 Bytes

Versions: 346

Compression:

Stored size: 272 Bytes

Contents

class Specinfra::Command::Openbsd::Base::RoutingTable < Specinfra::Command::Base::RoutingTable
  class << self
    def check_has_entry(destination)
      "route -n show -gateway | egrep '^#{destination}' | head -1"
    end

    alias :get_entry :check_has_entry
  end
end

Version data entries

346 entries across 346 versions & 3 rubygems

Version Path
specinfra-2.91.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.90.1 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.90.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.89.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.88.2 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.88.1 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.88.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.87.2 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.87.1 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.87.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.86.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.85.1 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.85.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.84.1 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.84.0 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.83.4 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.83.3 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.83.2 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.83.1 lib/specinfra/command/openbsd/base/routing_table.rb
specinfra-2.83.0 lib/specinfra/command/openbsd/base/routing_table.rb