class ActionView::Template::Text
:nodoc:
def formats
def formats [@type.respond_to?(:ref) ? @type.ref : @type.to_s] end
def identifier
def identifier 'text template' end
def initialize(string, type = nil)
def initialize(string, type = nil) @string = string.to_s @type = Types[type] || type if type @type ||= Types[:text] end
def inspect
def inspect 'text template' end
def render(*args)
def render(*args) to_str end
def to_str
def to_str @string end