Current Path : /usr/local/share/ri/1.8/system/FileUtils/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/FileUtils/ln_s-i.yaml |
--- !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: <b><tt>ln_s(old, new, options = {})</tt></b> - !ruby/struct:SM::Flow::P body: Creates a symbolic link <tt>new</tt> which points to <tt>old</tt>. If <tt>new</tt> already exists and it is a directory, creates a symbolic link +new/old+. If <tt>new</tt> already exists and it is not a directory, raises Errno::EEXIST. But if :force option is set, overwrite <tt>new</tt>. - !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: <b><tt>ln_s(list, destdir, options = {})</tt></b> - !ruby/struct:SM::Flow::P body: Creates several symbolic links in a directory, with each one pointing to the item in <tt>list</tt>. If <tt>destdir</tt> is not a directory, raises Errno::ENOTDIR. - !ruby/struct:SM::Flow::P body: If <tt>destdir</tt> 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