Sha256: e4e88a380154aad06caa3f2cf2849139f48568e0da658c9fe350fd7d33eae37f
Contents?: true
Size: 194 Bytes
Versions: 15
Compression:
Stored size: 194 Bytes
Contents
def template(from, to) tmpl = File.read(File.expand_path("../templates/#{from}", __FILE__)) erb = ERB.new(tmpl).result(binding) execute :touch, "#{to}" upload! StringIO.new(erb), to end
Version data entries
15 entries across 15 versions & 1 rubygems