method

with_renderer

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Rendering
with_renderer(renderer) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actiontext/lib/action_text/rendering.rb, line 17
      def with_renderer(renderer)
        previous_renderer = self.renderer
        self.renderer = renderer
        yield
      ensure
        self.renderer = previous_renderer
      end
Register or log in to add new notes.