Top Level Namespace
Defined Under Namespace
Modules: CarmineContraption
Instance Method Summary collapse
Instance Method Details
#fill_template(content, template) ⇒ Object
9 10 11 12 |
# File 'lib/photos.rb', line 9 def fill_template content, template output = File.open(template, 'r').read output.gsub!(/\#\{content\}/, content) end |