Module: ActionController::Renderers::All
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Instance Chain:
|
|
Defined in: | actionpack/lib/action_controller/metal/renderers.rb |
Overview
Used in ::ActionController::Base
and ::ActionController::API
to include all renderers by default.
Constant Summary
::ActionController::Renderers
- Included
::ActionController::Renderers
- Attributes & Methods
Class Method Summary
::ActiveSupport::Concern
- Extended
class_methods | Define class methods from given block. |
included | Evaluate given block in context of base class, so that you can write class macros here. |
prepended | Evaluate given block in context of base class, so that you can write class macros here. |
append_features, prepend_features |
Instance Method Summary
::ActionController::Renderers
- Included
#_render_to_body_with_renderer, | |
#render_to_body | Called by |
DSL Calls
included
[ GitHub ]40 41 42
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 40
included do self._renderers = RENDERERS end
Class Attribute Details
._renderers (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 31
class_attribute :_renderers, default: Set.new.freeze
._renderers? ⇒ Boolean
(rw)
[ GitHub ]
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 31
class_attribute :_renderers, default: Set.new.freeze
Instance Attribute Details
#_renderers (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 31
class_attribute :_renderers, default: Set.new.freeze
#_renderers? ⇒ Boolean
(rw)
[ GitHub ]
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 31
class_attribute :_renderers, default: Set.new.freeze