# File lib/facet/fileutils/safe_ln.rb, line 6 def safe_ln(*args) if @link_not_supported FileUtils.cp(*args) else begin FileUtils.ln(*args) rescue Errno::EOPNOTSUPP @link_not_supported = true FileUtils.cp(*args) end end end