Sha256: 8b92be746f0d1717850cf3810978763324b7b572f8e72ba98c143aac675df11b
Contents?: true
Size: 484 Bytes
Versions: 20
Compression:
Stored size: 484 Bytes
Contents
module ActionView #:nodoc: # = Action View Text Template class Template class Text #:nodoc: attr_accessor :type def initialize(string) @string = string.to_s @type = Types[:text] end def identifier "text template" end alias_method :inspect, :identifier def to_str @string end def render(*args) to_str end def formats [@type.ref] end end end end
Version data entries
20 entries across 20 versions & 1 rubygems