# File lib/fakefs/pathname.rb, line 34 def initialize(path) path = path.__send__(TO_PATH) if path.respond_to? TO_PATH @path = path.dup if /\0/ =~ @path fail ArgumentError, "pathname contains \\0: #{@path.inspect}" end taint if @path.tainted? end