lib/cocoapods/user_interface.rb
# Returns a string containing relative location of a path from the Podfile.
# The returned path is quoted. If the argument is nit it returns the
# empty string.
#
Returns a string containing relative location of a path from the Podfile.
The returned path is quoted. If the argument is nit it returns the
empty string.
Returns a string containing relative location of a path from the Podfile . The returned path is quoted . If the argument is nit it returns the empty string .
def path(pathname)
        if pathname
          path = pathname.relative_path_from(config.podfile_path.dirname || Pathname.pwd)
          "`#{path}`"
        else
          ''
        end
      end
def path ( pathname ) if pathname path = pathname . relative_path_from ( config . podfile_path . dirname || Pathname . pwd ) "`#{path}`" else '' end end
Returns a string containing relative location of a path from the Podfile.
Returns a string containing relative location of a path from the Podfile .
pathname