Sha256: 0152584911323b2bc53017ed67b6723cb7973b5d7aca2784647e11ff246eed65

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

require 'addressable/uri'

require 'absolutely/version'
require 'absolutely/error'
require 'absolutely/uri'

module Absolutely
  class << self
    def to_absolute_uri(base:, relative:)
      uri(base: base, relative: relative).to_absolute_uri
    end

    def uri(base:, relative:)
      URI.new(base: base, relative: relative)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
absolutely-1.1.2 lib/absolutely.rb
absolutely-1.1.1 lib/absolutely.rb
absolutely-1.1.0 lib/absolutely.rb
absolutely-1.0.0 lib/absolutely.rb
absolutely-0.1.0 lib/absolutely.rb