Sha256: 60ec4402f37a8ad4fd7b44954b36b2626527644f2b9a004ce0eb43d202873b7b
Contents?: true
Size: 288 Bytes
Versions: 1
Compression:
Stored size: 288 Bytes
Contents
require 'erb' module ChocBomb def self.create templates = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "templates")) data = ERB.new(open(File.join(templates, "Rakefile.erb")).read).result(binding) File.open("Rakefile", 'w') {|f| f.write(data) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chocbomb-0.0.3 | lib/chocbomb/tool.rb |