Categories: None [Edit]

docx_template

https://rubygems.org/gems/docx_template
template = DocxTemplate::Docx.new "/opt/docx_template.docx" template.replace_text("##SINGLE_REPLACE_TEXT##", "ACTUAL TEXT HERE") template.replace_text("##MULTI_REPLACE_TEXT##", "ACTUAL TEXT HERE", true) template.replace_header("##HEADER_REPLACE_TEXT##", "ACTUAL TEXT HERE", true) template.replace_image("image1.jpeg", "/opt/image5.jpg") template.save('/opt/final.docx')

Total

Ranking: 53,692 of 192,483
Downloads: 21,094

Daily

Ranking: 117,513 of 192,454
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,374,210,759bundler
81,305,187,129rake

Owners

#GravatarHandle
1iconmaniankara