def path(pathname, relative_to = Pathname.pwd)
      if pathname
        path = Pathname(pathname).relative_path_from(relative_to)
        "`#{path}`"
      else
        ''
      end
    end
def path(pathname, relative_to = Pathname.pwd)
      if pathname
        path = Pathname(pathname).relative_path_from(relative_to)
        "`#{path}`"
      else
        ''
      end
    end
The returned path is quoted. If the argument is nil it returns an empty
 string.

 @param [#to_str,Nil] pathname
        The path to return.
 @param [Pathname] relative_to