最速Rubyリファレンスマニュアル検索!
すべて(6)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
6件ヒット
[1-6件を表示]
(0.186秒)
トップページ
>
:
インスタンスメソッド
>
:
l
>
:
n
>
:
get
>
:getwd
別のキーワード
etc sc_xopen_enh_i18n
pop n_bytes
rsa n
rsa n=
context prompt_n
ライブラリ
shell
(6)
クラス
Shell
(6)
検索結果
先頭1件
Shell
#
getwd -> String
Shell
#
getwd -> String
(21302.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
インスタンスメソッド
カレントディレクトリのパスを文字列で返します。
...
カレントディレクトリのパスを文字列で返します。
使用例
require 'she
l
l
'
sh = She
l
l
.
n
ew
p sh.cwd
# 例
#=> "/Users/kouya/ta
l
l
"
...
Shell