module REXML::StringScannerCheckScanString
Public Instance Methods
check(pattern)
click to toggle source
Calls superclass method
# File lib/rexml/source.rb, line 13 def check(pattern) pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String) super(pattern) end
match?(pattern)
click to toggle source
Calls superclass method
# File lib/rexml/source.rb, line 23 def match?(pattern) pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String) super(pattern) end
scan(pattern)
click to toggle source
Calls superclass method
# File lib/rexml/source.rb, line 18 def scan(pattern) pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String) super(pattern) end
skip(pattern)
click to toggle source
Calls superclass method
# File lib/rexml/source.rb, line 28 def skip(pattern) pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String) super(pattern) end