Sha256: f4c9f409100b6a5fd6174891be7f345407a254cea8d6cdacd4bf79eb91dbf7dd
Contents?: true
Size: 585 Bytes
Versions: 31
Compression:
Stored size: 585 Bytes
Contents
# == ShellManager::Link # # A ShellManager driver providing access to the hard link +ln+ command found on # Unix-like systems. class AutomateIt::ShellManager::Link < AutomateIt::ShellManager::BaseLink depends_on :callbacks => [lambda{ RUBY_PLATFORM !~ /mswin/i and File.respond_to?(:link) }] def suitability(method, *args) # :nodoc: # Level must be higher than Portable return available? ? 2 : 0 end # See ShellManager#provides_link? def provides_link? available? ? true : false end # See ShellManager#ln def ln(*args) _ln(*args) end end
Version data entries
31 entries across 31 versions & 2 rubygems