method

collect_method

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.

collect_method(opt)
private

Returns an Array of method names which have the option opt.

p Bundler::FileUtils.collect_method(:preserve) #=> ["cp", "cp_r", "copy", "install"]