Permalink
Browse files

Mark lines.each as Ruby 1.8 compatibility code

  • Loading branch information...
programble committed Apr 28, 2012
1 parent dfb4379 commit b0379a8e27d5cb9e70603c8ed9231431a947c5d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/effuse
View
@@ -12,7 +12,7 @@ options = OpenStruct.new(:verbose => false,
:exclude => %w[.effuseignore .git .gitignore .gitmodules *~ .*~ .*.swp])
if File.exist?('.effuseignore')
- File.open('.effuseignore').lines.each do |line|
+ File.open('.effuseignore').lines.each do |line| # Ruby 1.8 (.each)
options.exclude << line.chomp
end
end

0 comments on commit b0379a8

Please sign in to comment.