class AutomateIt::ShellManager::Symlink

A ShellManager driver providing access to the symbolic link ln_s command found on Unix-like systems.

Public Instance Methods

ln_s(sources, target, opts={}) click to toggle source

See ShellManager#ln_s

# File lib/automateit/shell_manager/symlink.rb, line 24
def ln_s(sources, target, opts={})
  _ln(sources, target, {:symbolic => true}.merge(opts))
end
ln_sf(sources, target, opts={}) click to toggle source

See ShellManager#ln_sf

# File lib/automateit/shell_manager/symlink.rb, line 29
def ln_sf(sources, target, opts={})
  _ln(sources, target, {:symbolic => true, :force => true}.merge(opts))
end