module ActionText::Rendering
def render(*args, &block)
def render(*args, &block) (renderer || default_renderer).render_to_string(*args, &block) end
def with_renderer(renderer)
def with_renderer(renderer) previous_renderer = self.renderer self.renderer = renderer yield ensure self.renderer = previous_renderer end