Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rips/utils.rb
Instance Method Summary collapse
Instance Method Details
#del(regexp) ⇒ Object
12 13 14 |
# File 'lib/rips/utils.rb', line 12 def del(regexp) gsub(regexp,'') end |
#del!(regexp) ⇒ Object
15 16 17 |
# File 'lib/rips/utils.rb', line 15 def del!(regexp) gsub!(regexp,'') end |