Class: S3Repo::Templates
Overview
Templates object, represents the generated templates for repo navigation
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from S3Repo::Base
Instance Method Details
#update! ⇒ Object
7 8 9 10 11 12 |
# File 'lib/s3repo/templates.rb', line 7 def update! templates.each do |filename, template| rendered = template.result(template_binding.load_binding) client.upload(filename, rendered) end end |