Fog::Service
CGI.escape, but without special treatment on spaces
# File lib/fog/brightbox/storage.rb, line 159 def self.escape(str,extra_exclude_chars = "") str.gsub(/([^a-zA-Z0-9_.-#{extra_exclude_chars}]+)/) do "%" + $1.unpack("H2" * $1.bytesize).join("%").upcase end end
Generated with the Darkfish Rdoc Generator 2.