class String

Public Instance Methods

sploin(seperator, joiner, &block) click to toggle source

Included for the kids.

# File lib/core_ext/string.rb, line 4
def sploin(seperator, joiner, &block)
  ary = split(seperator)
  ary.map!(&block) if block_given?
  ary.join(joiner)
end