class ActionView::Template::RawFile
:nodoc:
= Action View RawFile Template
:nodoc:
:nodoc:
def identifier
def identifier @filename end
def initialize(filename)
def initialize(filename) @filename = filename.to_s extname = ::File.extname(filename).delete(".") @type = Template::Types[extname] || Template::Types[:text] @format = @type.symbol end
def render(*args)
def render(*args) ::File.read(@filename) end