--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: symlink block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: force noop verbose" - !ruby/struct:SM::Flow::P body: ln_s(old, new, options = {}) - !ruby/struct:SM::Flow::P body: Creates a symbolic link new which points to old. If new already exists and it is a directory, creates a symbolic link +new/old+. If new already exists and it is not a directory, raises Errno::EEXIST. But if :force option is set, overwrite new. - !ruby/struct:SM::Flow::VERB body: " FileUtils.ln_s '/usr/bin/ruby', '/usr/local/bin/ruby'\n FileUtils.ln_s 'verylongsourcefilename.c', 'c', :force => true\n" - !ruby/struct:SM::Flow::P body: ln_s(list, destdir, options = {}) - !ruby/struct:SM::Flow::P body: Creates several symbolic links in a directory, with each one pointing to the item in list. If destdir is not a directory, raises Errno::ENOTDIR. - !ruby/struct:SM::Flow::P body: If destdir is not a directory, raises Errno::ENOTDIR. - !ruby/struct:SM::Flow::VERB body: " FileUtils.ln_s Dir.glob('bin/*.rb'), '/home/aamine/bin'\n" full_name: FileUtils#ln_s is_singleton: false name: ln_s params: (src, dest, options = {}) visibility: public