class DocxTemplate::Docx::EntityReplacer
Attributes
dest_entity[R]
occurances[R]
src_entity[R]
type[W]
Public Class Methods
new(src, dest, occurances)
click to toggle source
# File lib/docx_template/docx.rb, line 105 def initialize(src, dest, occurances) @src_entity = src @dest_entity = ( dest ? dest : "" ) @occurances = occurances end
Public Instance Methods
type()
click to toggle source
# File lib/docx_template/docx.rb, line 111 def type @type || "FILE" end