lib/gator/util.rb in gator-0.0.20.pre vs lib/gator/util.rb in gator-0.0.21.pre
- old
+ new
@@ -27,9 +27,13 @@
def self.project_template_root
File.join(gator_root, "templates", "projects")
end
+ def self.generator_template_root
+ File.join(gator_root, "templates", "generators" )
+ end
+
def self.load_rubyfile(path, content=nil, debug=false)
content ||= File.binread(path)
begin
Gator::Sandbox.module_eval(content, path)
\ No newline at end of file