123456789_123456789_123456789_123456789_123456789_

Module: ActionController::Renderers::All

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
::ActionController::API, ::ActionController::Base, ::ActionView::TestCase::TestController, Rails::ApplicationController, Rails::InfoController, Rails::MailersController, Rails::WelcomeController
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
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

RENDERERS

::ActionController::Renderers - Attributes & Methods

Class Method Summary

Instance Method Summary

::ActionController::Renderers - Included

#_render_to_body_with_renderer,
#render_to_body

Called by render in ::AbstractController::Rendering which sets the return value as the response_body.

DSL Calls

included

[ GitHub ]


41
42
43
# File 'actionpack/lib/action_controller/metal/renderers.rb', line 41

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