Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class method

FileUtils.commands

commands

Returns an Array of names of high-level methods that accept any keyword arguments.

Example
p FileUtils.commands  #=> ["chmod", "cp", "cp_r", "install", ...]