Method: Inspec::Resources::Host#ipaddress

Defined in:
lib/resources/host.rb

#ipaddressObject

returns all A records of the IP address, will return an array



68
69
70
# File 'lib/resources/host.rb', line 68

def ipaddress
  resolve.nil? || resolve.empty? ? nil : resolve
end