Permalink
Browse files

use ruby 1.8 syntax for target resolution

  • Loading branch information...
1 parent 414c484 commit a043b554f7e068d512fb0f6fddf17f455b591d8d @marcisme committed Dec 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/guard/copy.rb
View
@@ -152,7 +152,7 @@ def validate_to_file(to_file)
end
def resolve_targets!
- @targets.each(&:resolve!)
+ @targets.each { |target| target.resolve! }
end
def validate_no_targets_are_files

0 comments on commit a043b55

Please sign in to comment.