method

fu_update_option

ruby latest stable - Class: FileUtils

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

fu_update_option(args, new)
private

No documentation available.

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