Sha256: 1e7e9cdf5b3db1cd9b3c570533c07c99671cf58a74c812fc09c4627a1bc9f65b

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

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

    alias :get_entry :check_has_entry
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta49 lib/specinfra/command/openbsd/base/routing_table.rb