るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.055秒)
トップページ > クエリ:new[x] > クエリ:path[x] > クエリ:getwd[x]

別のキーワード

  1. openssl new
  2. _builtin new
  3. rexml/document new
  4. resolv new
  5. socket new

ライブラリ

クラス

検索結果

Pathname.getwd -> Pathname (21245.0)

カレントディレクトリを元に Pathname オブジェクトを生成します。 Pathname.new(Dir.getwd) と同じです。

...カレントディレクトリを元に Pathname オブジェクトを生成します。
Path
name.new(Dir.getwd) と同じです。

//emlist[例][ruby]{
require "pathname"

Path
name.getwd #=> #<Pathname:/home/zzak/projects/ruby>
//}

@see Dir.getwd...

Pathname.pwd -> Pathname (6145.0)

カレントディレクトリを元に Pathname オブジェクトを生成します。 Pathname.new(Dir.getwd) と同じです。

...カレントディレクトリを元に Pathname オブジェクトを生成します。
Path
name.new(Dir.getwd) と同じです。

//emlist[例][ruby]{
require "pathname"

Path
name.getwd #=> #<Pathname:/home/zzak/projects/ruby>
//}

@see Dir.getwd...