lib/skellington/template.rb in skellington-0.8.7 vs lib/skellington/template.rb in skellington-0.8.8

- old
+ new

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