模块 REXML::StringScannerCheckScanString

公共实例方法

check(pattern) 点击切换源代码
调用父类方法
# File rexml-3.4.0/lib/rexml/source.rb, line 13
def check(pattern)
  pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
  super(pattern)
end
match?(pattern) 点击切换源代码
调用父类方法
# File rexml-3.4.0/lib/rexml/source.rb, line 23
def match?(pattern)
  pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
  super(pattern)
end
scan(pattern) 点击切换源代码
调用父类方法
# File rexml-3.4.0/lib/rexml/source.rb, line 18
def scan(pattern)
  pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
  super(pattern)
end
skip(pattern) 点击切换源代码
调用父类方法
# File rexml-3.4.0/lib/rexml/source.rb, line 28
def skip(pattern)
  pattern = /#{Regexp.escape(pattern)}/ if pattern.is_a?(String)
  super(pattern)
end