method

have_option?

v1_9_3_125 - 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