Class AutomateIt::ShellManager::Symlink
In: lib/automateit/shell_manager/symlink.rb
Parent: AutomateIt::ShellManager::BaseLink

ShellManager::Symlink

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

Methods

Public Instance methods

See ShellManager#ln_s

[Source]

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

See ShellManager#ln_sf

[Source]

# 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

See ShellManager#provides_symlink?

[Source]

# File lib/automateit/shell_manager/symlink.rb, line 19
  def provides_symlink?
    available? ? true : false
  end

[Validate]