Module: ActionComponent::ActionViewRendering

Defined in:
lib/action_component/action_view_rendering.rb

Instance Method Summary collapse

Instance Method Details

#render_component(component_class, opts = {}) ⇒ Object



3
4
5
# File 'lib/action_component/action_view_rendering.rb', line 3

def render_component(component_class, opts = {})
  component_class.render(self, opts)
end