Class: Serverspec::Type::RoutingTable

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/routing_table.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#has_entry?(entry) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/serverspec/type/routing_table.rb', line 4

def has_entry?(entry)
  backend.check_routing_table(entry)
end

#to_sObject



8
9
10
# File 'lib/serverspec/type/routing_table.rb', line 8

def to_s
  'Routing Table'
end