lib/veewee/templates.rb in veewee-0.3.0.alpha9 vs lib/veewee/templates.rb in veewee-0.3.0.beta1

- old
+ new

@@ -13,13 +13,12 @@ valid_paths(env.template_path).each do |template_dir| template=Veewee::Template.new(name,File.join(template_dir,name),@env) if template.exists? result=template return result - else - return nil end end + return nil end # Fetch all Templates def each(&block) templates=Hash.new