123456789_123456789_123456789_123456789_123456789_

Class: ActionView::AbstractRenderer::RenderedTemplate

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: actionview/lib/action_view/renderer/abstract_renderer.rb

Constant Summary

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(body, template) ⇒ RenderedTemplate

[ GitHub ]

  
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 144

def initialize(body, template)
  @body = body
  @template = template
end

Instance Attribute Details

#body (readonly)

[ GitHub ]

  
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 142

attr_reader :body, :template

#template (readonly)

[ GitHub ]

  
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 142

attr_reader :body, :template

Instance Method Details

#format

[ GitHub ]

  
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 149

def format
  template.format
end