method
match_to_consume
v2_4_6 -
Show latest stable
- Class:
REXML::Source
match_to_consume( char, pattern )public
No documentation available.
# File lib/rexml/source.rb, line 94
def match_to_consume( char, pattern )
md = pattern.match(@buffer)
@buffer = $'
return md
end