# File lib/rake.rb, line 1024
1024:   def ruby(*args,&block)
1025:     options = (Hash === args.last) ? args.pop : {}
1026:     if args.length > 1 then
1027:       sh(*([RUBY] + args + [options]), &block)
1028:     else
1029:       sh("#{RUBY} #{args.first}", options, &block)
1030:     end
1031:   end