lib/roxml/extensions/string/conversions.rb in Empact-roxml-2.4.3 vs lib/roxml/extensions/string/conversions.rb in Empact-roxml-2.5.1

- old
+ new

@@ -15,10 +15,11 @@ rescue Iconv::IllegalSequence STDERR << "!! Failed converting from UTF-8 -> ISO-8859-1 (#{self}). Already the right charset?" self end end + deprecate :to_utf # # Convert this string to iso-8850-1 # def to_latin @@ -27,15 +28,13 @@ rescue Iconv::IllegalSequence STDERR << "!! Failed converting from ISO-8859-1 -> UTF-8 (#{self}). Already the right charset?" self end end + deprecate :to_latin end end end -end - -class Object end class String def between(separator, &block) split(separator).collect(&block).join(separator) \ No newline at end of file