Sha256: f2ffee106fd4667ba2a50c8f1b90b1e7626d5aeb2c32ed0b55a9ee14806af83c

Contents?: true

Size: 160 Bytes

Versions: 7

Compression:

Stored size: 160 Bytes

Contents

module PrintReleaf
  module Util
    extend self

    def join_uri(*args)
      Array(args).compact.join("/").gsub(/\/{2,}/, "/").chomp("/")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
printreleaf-1.5.0 lib/printreleaf/util.rb
printreleaf-1.3.2 lib/printreleaf/util.rb
printreleaf-1.3.1 lib/printreleaf/util.rb
printreleaf-1.3.0 lib/printreleaf/util.rb
printreleaf-1.0.3 lib/printreleaf/util.rb
printreleaf-1.0.2 lib/printreleaf/util.rb
printreleaf-1.0.1 lib/printreleaf/util.rb