lib/inspec/resources/service.rb
def type
      return nil if info.nil?

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