# File lib/rake.rb, line 1002 1002: def ruby(*args,&block) 1003: options = (Hash === args.last) ? args.pop : {} 1004: if args.length > 1 then 1005: sh(*([RUBY] + args + [options]), &block) 1006: else 1007: sh("#{RUBY} #{args.first}", options, &block) 1008: end 1009: end