Sha256: 4840e2348c28619a7ec9c82a38fd997e97f75324159c81fd8f71e8417e136b17
Contents?: true
Size: 360 Bytes
Versions: 14
Compression:
Stored size: 360 Bytes
Contents
module ROXML module CoreExtensions module String #:nodoc:all module Iterators # Allows you to iterate over and modify the sub-strings between _separator_. Returns the joined result of the modification. def between(separator, &block) split(separator).collect(&block).join(separator) end end end end end
Version data entries
14 entries across 14 versions & 3 rubygems