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 Attribute Summary
Instance Method Summary
- #_all_renderers Internal use only
::ActionController::Renderers - Included
| #render_to_body | Called by |
| #_all_renderers, #_render_to_body_with_renderer | |
Class Attribute Details
._renderers (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 58
class_attribute :_renderers, default: Set.new.freeze
._renderers? ⇒ Boolean (rw)
[ GitHub ]
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 58
class_attribute :_renderers, default: Set.new.freeze
.escape_json_responses (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 59
class_attribute :escape_json_responses, instance_writer: false, instance_accessor: false, default: true
.escape_json_responses? ⇒ Boolean (rw)
[ GitHub ]
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 59
class_attribute :escape_json_responses, instance_writer: false, instance_accessor: false, default: true
Instance Attribute Details
#_renderers (rw)
[ GitHub ]# File 'actionpack/lib/action_controller/metal/renderers.rb', line 58
class_attribute :_renderers, default: Set.new.freeze
#_renderers? ⇒ Boolean (rw)
[ GitHub ]
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 58
class_attribute :_renderers, default: Set.new.freeze
Instance Method Details
#_all_renderers
This method is for internal use only.
[ GitHub ]
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 70
def _all_renderers # :nodoc: _renderers + Renderers.all end