Module: ViewComponent::RenderComponentHelper

Defined in:
lib/view_component/render_component_helper.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#render_component(component, &block) ⇒ Object



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

def render_component(component, &block)
  component.render_in(self, &block)
end