Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/oniguruma.rb
Instance Method Summary collapse
-
#ogsub(*args) ⇒ Object
Calls
Oniguruma::ORegexp#gsub
on this string. -
#ogsub!(*args) ⇒ Object
Calls
Oniguruma::ORegexp#gsub!
on this string. -
#osub(re, *args) ⇒ Object
Calls
Oniguruma::ORegexp#sub
on this string. -
#osub!(re, *args) ⇒ Object
Calls
Oniguruma::ORegexp#sub!
on this string.
Instance Method Details
#ogsub(*args) ⇒ Object
Calls Oniguruma::ORegexp#gsub
on this string.
297 298 299 |
# File 'lib/oniguruma.rb', line 297 def ogsub(*args) Oniguruma::ORegexp.new(args.shift).gsub(self, *args) end |
#ogsub!(*args) ⇒ Object
Calls Oniguruma::ORegexp#gsub!
on this string.
302 303 304 |
# File 'lib/oniguruma.rb', line 302 def ogsub!(*args) Oniguruma::ORegexp.new(args.shift).gsub!(self, *args) end |