Class: Pathname

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-downloader/base.rb

Instance Method Summary collapse

Instance Method Details

#shellescapeString

Returns a version of the path that is escaped to be safe to use in a shell.

Returns:

  • (String)

    a version of the path that is escaped to be safe to use in a shell.



6
7
8
# File 'lib/cocoapods-downloader/base.rb', line 6

def shellescape
  to_s.shellescape
end