def each_match
      return enum_for(__method__) unless block_given?

      @node.xpath("osmatch").map do |osclass|
        os_match = OSMatch.new(
          osclass['name'],
          osclass['accuracy'].to_i
        )

        yield os_match
      end

      return self
    end
def each_match
      return enum_for(__method__) unless block_given?

      @node.xpath("osmatch").map do |osclass|
        os_match = OSMatch.new(
          osclass['name'],
          osclass['accuracy'].to_i
        )

        yield os_match
      end

      return self
    end
Parses the OS match information.

 @yield [match]
   Passes each OS match to the given block.

 @yieldparam [OSMatch] class
   The OS match information.

 @return [OS, Enumerator]
   The OS information. If no block was given, an enumerator object
   will be returned.