Module: S3Ranger

Defined in:
lib/s3ranger/exceptions.rb,
lib/s3ranger/cli.rb,
lib/s3ranger/sync.rb,
lib/s3ranger/util.rb,
lib/s3ranger/config.rb,
lib/s3ranger/version.rb

Overview

© 2013 Lincoln de Sousa <lincoln@clarete.li>

This software code is made available “AS IS” without warranties of any kind. You may copy, display, modify and redistribute the software code either by itself or as incorporated into your code; provided that you do not remove any proprietary notices. Your use of this software code is at your own risk and you waive any claim against the author with respect to your use of this software code.

Defined Under Namespace

Modules: CLI Classes: Config, FailureFeedback, LocalDirectory, Location, NoConfigFound, Node, SyncCommand, SyncException, WrongUsage

Constant Summary collapse

VERSION =
"0.2.1"

Class Method Summary collapse

Class Method Details

.safe_join(parts) ⇒ Object


2
3
4
# File 'lib/s3ranger/util.rb', line 2

def S3Ranger.safe_join(parts)
  File.join *(parts.select {|v| !v.nil? && !v.empty? })
end