method

process_instruction

ruby latest stable - Class: REXML::Parsers::BaseParser

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

process_instruction()
private

No documentation available.

# File lib/rexml/parsers/baseparser.rb, line 476
      def process_instruction
        match_data = @source.match(INSTRUCTION_PATTERN, true)
        unless match_data
          message = "Invalid processing instruction node"
          raise REXML::ParseException.new(message, @source)
        end
        [:processing_instruction, match_data[1], match_data[2]]
      end