1件ヒット
[1-1件を表示]
(0.011秒)
クラス
- Pathname (1)
検索結果
-
Pathname
# dirname -> Pathname (18310.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...