method

fu_check_options

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_check_options(options, optdecl)
private

No documentation available.

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