Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > pathnameライブラリ > Pathnameクラス > split

instance method Pathname#split

split -> Array

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

[SEE_ALSO] File.split

class Pathname