method

have_option?

ruby latest stable - Class: Bundler::FileUtils

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

have_option?(mid, opt)
private

Returns true if the method mid have an option opt.

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