You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2010/11/04 01:58:09 UTC
svn commit: r1030786 - /buildr/trunk/lib/buildr/core/checks.rb
Author: boisvert
Date: Thu Nov 4 00:58:08 2010
New Revision: 1030786
URL: http://svn.apache.org/viewvc?rev=1030786&view=rev
Log:
Another Ruby 1.9 fix
Modified:
buildr/trunk/lib/buildr/core/checks.rb
Modified: buildr/trunk/lib/buildr/core/checks.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/checks.rb?rev=1030786&r1=1030785&r2=1030786&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/checks.rb (original)
+++ buildr/trunk/lib/buildr/core/checks.rb Thu Nov 4 00:58:08 2010
@@ -89,7 +89,7 @@ module Buildr
@description = args.pop if String === args.last
@subject = args.shift
raise ArgumentError, "Expecting subject followed by description, and either one is optional. Not quite sure what to do with this list of arguments." unless args.empty?
- @block = block || lambda { info "Pending: #{description}" }
+ @block = block || lambda { |klass| info "Pending: #{description}" }
end
# :call-seq: