lib/s3ranger/util.rb in s3ranger-0.3.0 vs lib/s3ranger/util.rb in s3ranger-0.3.1
- old
+ new
@@ -22,8 +22,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
module S3Ranger
def S3Ranger.safe_join(parts)
- File.join *(parts.select {|v| !v.nil? && !v.empty? })
+ File.join(*(parts.select {|v| !v.nil? && !v.empty? }))
end
end