method

with_renderer

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 20
      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.