module ActiveSupport::XmlMini
def with_backend(name)
def with_backend(name) old_backend = current_thread_backend self.current_thread_backend = name && cast_backend_name_to_module(name) yield ensure self.current_thread_backend = old_backend end
def with_backend(name) old_backend = current_thread_backend self.current_thread_backend = name && cast_backend_name_to_module(name) yield ensure self.current_thread_backend = old_backend end