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