# File lib/rake.rb, line 501
501:   def ruby(*args,&block)
502:     if Hash === args.last
503:       options = args.pop
504:     else
505:       options = {}
506:     end
507:     if args.length > 1 then
508:       sh(*([RUBY] + args + [options]), &block)
509:     else
510:       sh("#{RUBY} #{args}", options, &block)
511:     end
512:   end