Method: RIEL::StringExt#-
- Defined in:
- lib/riel/string.rb
#-(other) ⇒ Object
Returns a string based on this instance, with the first occurrance of other removed. other may be a string or regular expression.
37 38 39 |
# File 'lib/riel/string.rb', line 37 def - other sub other, '' end |