lib/barista.rb in barista-0.4.2 vs lib/barista.rb in barista-0.4.3
- old
+ new
@@ -83,10 +83,10 @@
return unless framework
framework.output_prefix = prefix
end
def each_framework(include_default = false)
- Framework.all(include_default).each { yield if block_given? }
+ Framework.all(include_default).each { |f| yield f if block_given? }
end
def output_path_for(file)
output_root.join(file.to_s.gsub(/^\/+/, '')).to_s.gsub(/\.coffee$/, '.js')
end