Sha256: 547ee354e417bfda5b736ebcaa7680f6fd7ad95c710a4faf969817596d07147f

Contents?: true

Size: 108 Bytes

Versions: 3

Compression:

Stored size: 108 Bytes

Contents

class String
  def between(separator, &block)
    split(separator).collect(&block).join(separator)
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
Empact-roxml-2.5.2 lib/roxml/extensions/string/conversions.rb
Empact-roxml-2.5.3 lib/roxml/extensions/string/conversions.rb
doxo-roxml-2.5.3 lib/roxml/extensions/string/conversions.rb