Method: Specinfra::Command::Base::File.link_to
- Defined in:
- lib/specinfra/command/base/file.rb
.link_to(link, target, options = {}) ⇒ Object
165 166 167 168 169 |
# File 'lib/specinfra/command/base/file.rb', line 165 def link_to(link, target, = {}) option = '-s' option << 'f' if [:force] "ln #{option} #{escape(target)} #{escape(link)}" end |