るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.016秒)
トップページ > バージョン:2.3.0[x] > クエリ:File[x] > ライブラリ:pathname[x] > クエリ:split[x] > 種類:インスタンスメソッド[x]

別のキーワード

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

クラス

検索結果

Pathname#split -> Array (54463.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...