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

instance method Pathname#read

read(*args) -> String | nil

IO.read(self.to_s, *args)と同じです。

[SEE_ALSO] IO.read

class Pathname