3件ヒット
[1-3件を表示]
(0.158秒)
ライブラリ
- pathname (1)
- shell (1)
-
shell
/ command-processor (1)
クラス
- Pathname (1)
- Shell (1)
-
Shell
:: CommandProcessor (1)
検索結果
先頭3件
-
Pathname
# expand _ path(default _ dir = & # 39; . & # 39;) -> Pathname (54709.0) -
Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
Pathname.new(File.expand_path(self.to_s, *args)) と同じです。
@param default_dir self が相対パスであれば default_dir を基準に展開されます。
//emlist[例][ruby]{
require "pathname"
path = Pathname("testfile")
Pathname.pwd # => #<Pathname:/path/to>
path.expand_path # => #<Pathname:/path/to/testfile>
path.e... -
Shell
# expand _ path(path) -> String (54625.0) -
Fileクラスにある同名のクラスメソッドと同じです.
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path -
Shell
:: CommandProcessor # expand _ path(path) -> String (54625.0) -
Fileクラスにある同名のクラスメソッドと同じです.
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path