Skip to content
class method

Pathname.pwd

() -> ::Pathname
pwd

Alias of .getwd

See Dir.getwd. Returns the current working directory as a Pathname.

See also .getwd .new #+ .mktmpdir also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0