Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/mixml/template.rb

Overview

Extend String

Instance Method Summary collapse

Instance Method Details

#to_mixml_templateMixml::Template::Text

Convert a string into a template

Returns:



8
9
10
# File 'lib/mixml/template.rb', line 8

def to_mixml_template
    ::Mixml::Template::Text.new(self)
end