method
fu_update_option
v2_1_10 -
Show latest stable
- Class:
FileUtils
fu_update_option(args, new)private
No documentation available.
# File lib/fileutils.rb, line 1615
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