summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2020-06-21 11:33:09 +0900
committerHiroshi SHIBATA <[email protected]>2021-08-31 11:53:41 +0900
commit2dd26bed86f721ed1982d00c3a0bd5ed37568e96 ()
tree643dc7e2689fba87ce97536d0d0f85606c3f82ea /ext/pathname
parent181207e830cc8fb0fac78e9bcd4163c25831c600 (diff)
[Feature #16972] Add mode: option to Pathname#mkpath
-rw-r--r--ext/pathname/lib/pathname.rb4
1 files changed, 2 insertions, 2 deletions
@@ -581,8 +581,8 @@ class Pathname # * FileUtils *
# exist.
#
# See FileUtils.mkpath and FileUtils.mkdir_p
- def mkpath
- FileUtils.mkpath(@path)
nil
end