method

match_to_consume

v1_9_2_180 - Show latest stable - Class: REXML::Source
match_to_consume( char, pattern )
public

No documentation available.

# File lib/rexml/source.rb, line 102
    def match_to_consume( char, pattern )
      md = pattern.match(@buffer)
      @buffer = $'
      return md
    end