11件ヒット
[1-11件を表示]
(0.144秒)
別のキーワード
ライブラリ
- pathname (11)
検索結果
-
Pathname
# dirname -> Pathname (21231.0) -
Pathname.new(File.dirname(self.to_s)) と同じです。
...Pathname.new(File.dirname(self.to_s)) と同じです。
//emlist[例][ruby]{
require "pathname"
Pathname('/usr/bin/shutdown').dirname # => #<Pathname:/usr/bin>
//}
@see File.dirname...