Module: ViewComponent::RenderComponentToStringHelper

Defined in:
lib/view_component/render_component_to_string_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#render_component_to_string(component) ⇒ Object



5
6
7
# File 'lib/view_component/render_component_to_string_helper.rb', line 5

def render_component_to_string(component)
  component.render_in(view_context)
end