Class: String
- 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
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 |