Class: ActionView::Template::LegacyTemplate
- Inherits:
-
ActionView::Template
- Object
- ActionView::Template
- ActionView::Template::LegacyTemplate
- Defined in:
- lib/action_view/template.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Attributes inherited from ActionView::Template
#format, #handler, #identifier, #locals, #original_encoding, #updated_at, #variable, #variant, #virtual_path
Instance Method Summary collapse
-
#initialize(template, source) ⇒ LegacyTemplate
constructor
A new instance of LegacyTemplate.
Methods inherited from ActionView::Template
#encode!, finalize_compiled_template_methods, finalize_compiled_template_methods=, #inspect, #marshal_dump, #marshal_load, #render, #short_identifier, #supports_streaming?, #type
Methods included from Handlers
extended, extensions, #handler_for_extension, #register_default_template_handler, #register_template_handler, #registered_template_handler, #template_handler_extensions, #unregister_template_handler
Constructor Details
#initialize(template, source) ⇒ LegacyTemplate
Returns a new instance of LegacyTemplate.
294 295 296 297 |
# File 'lib/action_view/template.rb', line 294 def initialize(template, source) super(template) @source = source end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
292 293 294 |
# File 'lib/action_view/template.rb', line 292 def source @source end |