| Module Amrita::PartsTemplate |
|
| Methods |
| Classes and Modules |
| Included modules |
| Public Instance methods |
| ptx() |
# File lib/amrita/parts.rb, line 35 def ptx unless defined? @ptx @ptx = PartsTempleteExpander.new(self) end @ptx end
| amrita_expand_element(e, context=DefaultContext.clone) |
# File lib/amrita/parts.rb, line 42 def amrita_expand_element(e, context=DefaultContext.clone) e.clone { parts_template.expand(ptx, context) } end
| to_s() |
# File lib/amrita/parts.rb, line 46 def to_s SanitizedString.new(parts_template.expand(ptx).to_s) end