blob: 3e25f6902db8403a5ba34c504f80b87cb0f979ec (
plain) (
tree)
|
|
module ActionView #:nodoc:
class InlineTemplate #:nodoc:
include Renderable
def initialize(view, source, locals = {}, type = nil)
@view = view
@source = source
@extension = type
@locals = locals || {}
@method_segment = "inline_#{@source.hash.abs}"
@handler = Template.handler_class_for_extension(@extension).new(@view)
end
end
end
|