instance method Pathname#to_s
to_s -> String
-
パス名を文字列で返します。
require 'pathname' path = Pathname.new("/tmp/hogehoge") File.open(path)
class Pathname
to_s -> String
パス名を文字列で返します。
require 'pathname' path = Pathname.new("/tmp/hogehoge") File.open(path)