class ActionView::Template::HTML
:nodoc:
:nodoc:
= Action View HTML Template
:nodoc:
def formats
def formats [@type.respond_to?(:ref) ? @type.ref : @type.to_s] end
def identifier
def identifier "html template" end
def initialize(string, type = nil)
def initialize(string, type = nil) @string = string.to_s @type = Types[type] || type if type @type ||= Types[:html] end
def render(*args)
def render(*args) to_str end
def to_str
def to_str ERB::Util.h(@string) end