Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > pathnameライブラリ > Kernelモジュール > Pathname (private)

instance method Kernel#Pathname

Pathname(path) -> Pathname [added by pathname]

文字列 path を元に Pathname オブジェクトを生成します。

Pathname.new(path) と同じです。

[PARAM] path:
文字列、または類似のオブジェクトを与えます。 実際には to_str に反応するオブジェクトなら何でも構いません。
module Kernel