lib/eac_docker/images/templatized.rb in eac_docker-0.6.0 vs lib/eac_docker/images/templatized.rb in eac_docker-0.7.0
- old
+ new
@@ -33,11 +33,15 @@
::EacDocker::Images::Coded.new(provide_dir)
end
protected
+ def variables_source
+ self
+ end
+
def write_in_provide_dir
- template.apply(self, provide_dir)
+ template.apply(variables_source, provide_dir)
end
private
attr_writer :provide_dir