split -> Array
File.split(self.to_s) と同じです。
例 require "pathname" pathname = Pathname("/path/to/sample") pathname.split # => [#<Pathname:/path/to>, #<Pathname:sample>]
require "pathname" pathname = Pathname("/path/to/sample") pathname.split # => [#<Pathname:/path/to>, #<Pathname:sample>]
[SEE_ALSO] File.split