Class: Serverspec::Type::Host
- Inherits:
-
Base
- Object
- Base
- Serverspec::Type::Host
show all
- Defined in:
- lib/serverspec/type/host.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #to_s
Instance Method Details
#reachable?(port, proto, timeout) ⇒ Boolean
8
9
10
|
# File 'lib/serverspec/type/host.rb', line 8
def reachable?(port, proto, timeout)
backend.check_reachable(@name, port, proto, timeout)
end
|
#resolvable?(type) ⇒ Boolean
4
5
6
|
# File 'lib/serverspec/type/host.rb', line 4
def resolvable?(type)
backend.check_resolvable(@name, type)
end
|