module REXML::StringScannerCheckScanString

Public Instance Methods

check(pattern) click to toggle source
Calls superclass method
# File rexml-3.3.6/lib/rexml/source.rb, line 12
def check(pattern)
  pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
  super(pattern)
end
scan(pattern) click to toggle source
Calls superclass method
# File rexml-3.3.6/lib/rexml/source.rb, line 17
def scan(pattern)
  pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
  super(pattern)
end