Class: ActionView::Template::LegacyTemplate

Inherits:
ActionView::Template show all
Defined in:
lib/action_view/template.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Attributes inherited from ActionView::Template

#format, #handler, #identifier, #locals, #original_encoding, #updated_at, #variable, #variant, #virtual_path

Instance Method Summary collapse

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.



295
296
297
298
# File 'lib/action_view/template.rb', line 295

def initialize(template, source)
  super(template)
  @source = source
end

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



293
294
295
# File 'lib/action_view/template.rb', line 293

def source
  @source
end