method
fu_check_options
fu_check_options(options, optdecl)
private
Hide source
# File lib/fileutils.rb, line 1436 def fu_check_options(options, optdecl) #:nodoc: h = options.dup optdecl.each do |opt| h.delete opt end raise ArgumentError, "no such option: #{h.keys.join(' ')}" unless h.empty? end