Module: RenderComponent::Components
- Defined in:
- lib/render_component/components.rb
Defined Under Namespace
Modules: ClassMethods, HelperMethods, InstanceMethods, MethodsToPrepend
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/render_component/components.rb', line 28 def self.included(base) #:nodoc: base.class_eval do include InstanceMethods extend ClassMethods helper HelperMethods # If this controller was instantiated to process a component request, # +parent_controller+ points to the instantiator of this controller. attr_accessor :parent_controller end base.prepend(MethodsToPrepend) end |