# File lib/backports/tools.rb, line 167 def self.convert_to_path(file_or_path) file_or_path.respond_to?(:to_path) ? file_or_path.to_path : file_or_path end