vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/lib/rake/file_list.rb
# Convert Pathname and Pathname-like objects to strings;
# leave everything else alone
Convert Pathname and Pathname-like objects to strings;
leave everything else alone
Convert Pathname and Pathname - like objects to strings ; leave everything else alone
def from_pathname(path)    
      path = path.to_path if path.respond_to?(:to_path)
      path = path.to_str if path.respond_to?(:to_str)
      path
    end
def from_pathname ( path ) path = path . to_path if path . respond_to? ( :to_path ) path = path . to_str if path . respond_to? ( :to_str ) path end
Convert Pathname and Pathname-like objects to strings;
leave everything else alone
Convert Pathname and Pathname - like objects to strings ; leave everything else alone
# :nodoc:
path