Method: Inspec::Resources::Host#ipaddress
- Defined in:
- lib/resources/host.rb
#ipaddress ⇒ Object
returns all A records of the IP address, will return an array
110 111 112 |
# File 'lib/resources/host.rb', line 110 def ipaddress resolve.nil? || resolve.empty? ? nil : resolve end |