class AutomateIt::ShellManager::Symlink
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
provides_symlink?()
click to toggle source
See ShellManager#provides_symlink?
# File lib/automateit/shell_manager/symlink.rb, line 19 def provides_symlink? available? ? true : false end