lib/skellington/template.rb in skellington-0.7.5 vs lib/skellington/template.rb in skellington-0.8.0

- old
+ new

@@ -13,10 +13,10 @@ @outpath = "#{@generator.path}/#{@generator.wormname}/#{@name}" end end def templates_dir - File.join File.dirname(__FILE__), '..', 'templates' + File.join File.dirname(__FILE__), '..', @generator.framework, 'templates' end def write print "Generating #{Skellington.unslash outpath}..." FileUtils.mkdir_p File.dirname outpath