method

have_option?

v1_8_6_287 - Show latest stable - Class: FileUtils
have_option?(mid, opt)
private

Returns true if the method mid have an option opt.

  p FileUtils.have_option?(:cp, :noop)     #=> true
  p FileUtils.have_option?(:rm, :force)    #=> true
  p FileUtils.have_option?(:rm, :perserve) #=> false