class Oniguruma::ORegexp

Public Class Methods

new(r, options = "") click to toggle source
Calls superclass method
# File lib/web-page-parser.rb, line 19
def self.new(r, options = "")
  ropts = 0
  ropts = ropts | Regexp::MULTILINE if options =~ /m/
  ropts = ropts | Regexp::IGNORECASE if options =~ /i/
  super(r, ropts)
end

Public Instance Methods

gsub(a, b) click to toggle source
# File lib/web-page-parser.rb, line 26
def gsub(a, b)
  a.gsub(self, b)
end