# File lib/standard/facets/fileutils/ln_r.rb, line 29 def ln_r(src, dest, options = {}) fu_check_options options, OPT_TABLE['ln_r'] fu_output_message "ln -r#{options[:remove_destination] ? ' --remove-destination' : ''} #{[src,dest].flatten.join ' '}" if options[:verbose] return if options[:noop] options = options.dup options[:dereference_root] = true unless options.key?(:dereference_root) fu_each_src_dest(src, dest) do |s, d| link_entry s, d, options[:dereference_root], options[:remove_destination] end end