instance method
Pathname#chmod
(::Integer mode_int) -> ::Integer
chmod(mode)
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 913
def chmod(mode) File.chmod(mode, @path) end
See File.chmod. Changes permissions.