That is unnecessary, if you trace the code you end up with:

options[:recursive]=File.directory?(source) if options[:recursive].nil?

So the recursive option is set if you pass a directory in.