|
"DTD/xhtml1-strict.dtd">
# File lib/amrita/parts.rb, line 35 def ptx unless defined? @ptx @ptx = PartsTempleteExpander.new(self) end @ptx end
# File lib/amrita/parts.rb, line 42 def amrita_expand_element(e, context=DefaultContext.clone) e.clone { parts_template.expand(ptx, context) } end
# File lib/amrita/parts.rb, line 46 def to_s SanitizedString.new(parts_template.expand(ptx).to_s) end |