Skip to content

Commit

Permalink
Dir#chdir~ の展開に関する記述を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tmyksj committed Nov 28, 2024
1 parent bd832c8 commit ed63888
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions refm/api/src/_builtin/Dir
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ Dir.chdir("/tmp") do
p Dir.pwd #=> "/tmp"
end
p Dir.pwd #=> "/var/spool/mail"

# ~ は展開されない
Dir.chdir("~/.ssh") # => Errno::ENOENT
#@end

--- chroot(path) -> 0
Expand Down

0 comments on commit ed63888

Please sign in to comment.