D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
FileUtils
/
Filename :
install-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: mode preserve noop verbose" - !ruby/struct:SM::Flow::P body: If <tt>src</tt> is not same as <tt>dest</tt>, copies it and changes the permission mode to <tt>mode</tt>. If <tt>dest</tt> is a directory, destination is <tt>dest</tt>/<tt>src</tt>. This method removes destination before copy. - !ruby/struct:SM::Flow::VERB body: " FileUtils.install 'ruby', '/usr/local/bin/ruby', :mode => 0755, :verbose => true\n FileUtils.install 'lib.rb', '/usr/local/lib/ruby/site_ruby', :verbose => true\n" full_name: FileUtils#install is_singleton: false name: install params: (src, dest, options = {}) visibility: public