def each_class
      return enum_for(__method__) unless block_given?

      @node.xpath("osmatch/osclass").each do |osclass|
        yield OSClass.new(osclass)
      end

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

      @node.xpath("osmatch/osclass").each do |osclass|
        yield OSClass.new(osclass)
      end

      return self
    end
Creates a new OS object.

 @param [Nokogiri::XML::Node] node
   The node that contains the OS guessing information.


 Parses the OS class information.

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

 @yieldparam [OSClass] class
   The OS class information.

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