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
72 73 74 |
# File 'lib/resources/host.rb', line 72 def ipaddress resolve.nil? || resolve.empty? ? nil : resolve end |