Module: S3Ranger

Included in:
Commands
Defined in:
lib/s3ranger/exceptions.rb,
lib/s3ranger/cmd.rb,
lib/s3ranger/sync.rb,
lib/s3ranger/util.rb,
lib/s3ranger/config.rb,
lib/s3ranger/version.rb

Overview

© 2013 Lincoln de Sousa <[email protected]>

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

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

Constant Summary collapse

VERSION =
"0.1.0"

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