# File lib/rake.rb, line 578 578: def ruby(*args,&block) 579: if Hash === args.last 580: options = args.pop 581: else 582: options = {} 583: end 584: if args.length > 1 then 585: sh(*([RUBY] + args + [options]), &block) 586: else 587: sh("#{RUBY} #{args}", options, &block) 588: end 589: end