るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.185秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:t[x] > クエリ:file[x] > クエリ:ruby[x] > クエリ:split[x] > クラス:Pathname[x]

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file lstat
  4. file umask
  5. file path

ライブラリ

検索結果

Pathname#split -> Array (24259.0)

File.split(self.to_s) と同じです。

...File.split(self.to_s) と同じです。

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

pathname
= Pathname("/path/to/sample")
pathname
.split # => [#<Pathname:/path/to>, #<Pathname:sample>]
//}

@see File.split...