Class: String

Inherits:
Object show all
Includes:
ROXML::CoreExtensions::String::Conversions, ROXML::CoreExtensions::String::Iterators
Defined in:
lib/roxml/extensions/string.rb,
lib/roxml/extensions/active_support.rb,
lib/roxml/extensions/string/conversions.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ROXML::CoreExtensions::String::Conversions

#to_latin, #to_utf

Instance Method Details

#between(separator, &block) ⇒ Object



41
42
43
# File 'lib/roxml/extensions/string/conversions.rb', line 41

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