class method
FileUtils.commands
() -> ::Array[::String]
commands
lib/fileutils.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/fileutils.rb, line 2577
def self.commands
OPT_TABLE.keys
end
Returns an array of the string names of FileUtils methods that accept one or more keyword arguments:
Example
FileUtils.commands.sort.take(3) # => ["cd", "chdir", "chmod"]
See also
.collect_method
.compare_file
.cmp
.compare_stream
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0