method

fu_check_options

v1_8_7_72 - Show latest stable - Class: FileUtils
fu_check_options(options, optdecl)
private

No documentation available.

# File lib/fileutils.rb, line 1435
  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