Method: Octopress::Deploy::S3#remote_path
- Defined in:
- lib/octopress-deploy/s3.rb
#remote_path(file) ⇒ Object
Replace local path with remote path
227 228 229 |
# File 'lib/octopress-deploy/s3.rb', line 227 def remote_path(file) File.join(@remote_path, file.sub(@local, '')).sub(/^\//, '') end |