lib/inspec/resources/service.rb
def name
      return @service_name if info.nil?

      info[:name]
    end
# returns the service name from info
returns the service name from info
returns the service name from info
def name
      return @service_name if info.nil?
      info[:name]
    end
def name return @service_name if info . nil? info [ :name ] end
returns the service name from info
returns the service name from info