Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

FileUtils.ln_sf

(::FileUtils::pathlist src, ::FileUtils::path dest, ?noop: ::boolish, ?verbose: ::boolish) -> void
ln_sf(src, dest, noop: nil, verbose: nil)

Like FileUtils.ln_s, but always with keyword argument force: true given.

See also #ln_sf .ln_s .ln_sr .ln also in 4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0