APIdock / Ruby
/
Browse About
method

fu_update_option

v1_8_7_330 - Show latest stable - Class: FileUtils
fu_update_option(args, new)
private

No documentation available.

# File lib/fileutils.rb, line 1446
  def fu_update_option(args, new)   #:nodoc:
    if args.last.is_a?(Hash)
      args[-1] = args.last.dup.update(new)
    else
      args.push new
    end
    args
  end

Related methods

  • Instance methods
  • cd
  • chdir
  • chmod
  • chmod_R
  • chown
  • chown_R
  • cmp
  • compare_file
  • compare_stream
  • copy
  • copy_entry
  • copy_file
  • copy_stream
  • cp
  • cp_r
  • fu_get_gid
  • fu_get_gid
  • fu_get_uid
  • fu_get_uid
  • fu_have_symlink?
  • fu_mkdir
  • fu_stat_identical_entry?
  • fu_world_writable?
  • getwd
  • identical?
  • install
  • link
  • ln
  • ln_s
  • ln_sf
  • makedirs
  • mkdir
  • mkdir_p
  • mkpath
  • move
  • mv
  • pwd
  • remove
  • remove_dir
  • remove_entry
  • remove_entry_secure
  • remove_file
  • rename_cannot_overwrite_file?
  • rm
  • rm_f
  • rm_r
  • rm_rf
  • rmdir
  • rmtree
  • safe_unlink
  • symlink
  • touch
  • uptodate?
  • Class methods
  • private_module_function
  • Private methods
  • privatecollect_method
  • privatecommands
  • privatehave_option?
  • privateoptions
  • privateoptions_of
  • privatefu_check_options
  • privatefu_each_src_dest
  • privatefu_each_src_dest0
  • privatefu_have_st_ino?
  • privatefu_list
  • privatefu_output_message
  • privatefu_same?
  • privatefu_update_option
APIdock API Documentation Browser

© 2026 APIdock