class String

Public Instance Methods

rsplit(*args, &proc) click to toggle source

Divides string into substrings based on a delimiter (starting from right), returning an array of these substrings.

# File lib/rsplit.rb, line 45
def rsplit(*args, &proc)
  RSplit.rsplit(self, *args, &proc)
end