Module: ActionComponent::Callbacks::ClassMethods
- Defined in:
- lib/action_component/callbacks.rb
Instance Method Summary collapse
Instance Method Details
#after_render(*methods) ⇒ Object
17 18 19 |
# File 'lib/action_component/callbacks.rb', line 17 def after_render(*methods) self.after_render_callback_methods += methods end |
#before_render(*methods) ⇒ Object
13 14 15 |
# File 'lib/action_component/callbacks.rb', line 13 def before_render(*methods) self.before_render_callback_methods += methods end |