lib/spiderfw/create.rb in spiderfw-0.5.9 vs lib/spiderfw/create.rb in spiderfw-0.5.10
- old
+ new
@@ -26,12 +26,12 @@
'__MODULE__' => modules[modules.length-1]
}
create(source_folder, dest_folder, replacements, erb_binding)
end
- def self.install(name, path)
+ def self.home(name, path)
dest_path = path+'/'+name
- source_path = $SPIDER_PATH+'/blueprints/install'
+ source_path = $SPIDER_PATH+'/blueprints/home'
create(source_path, dest_path)
end
def self.create(source_path, dest_path, replacements={}, erb_binding=nil)
raise RuntimeError, "Folder #{source_path} does not exist" unless File.exist?(source_path)
\ No newline at end of file