Sha256: dab6c4413f7ebac632bb9f65228f02ca76808b8cb1a4f99e89e60c22f2f80986

Contents?: true

Size: 263 Bytes

Versions: 44

Compression:

Stored size: 263 Bytes

Contents

module Wovnrb
  class URL
    def self.resolve_absolute_url(curr_location, rel_location)
    end

    # Set the path lang to
    def self.prepend_path(url, dir)
     result = url.sub(/(.+\.[^\/]+)(\/|$)/, '\1/' + dir + '\2')
     return result
     end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
wovnrb-1.1.0 lib/wovnrb/services/url.rb
wovnrb-1.0.13 lib/wovnrb/services/url.rb
wovnrb-1.0.12 lib/wovnrb/services/url.rb
wovnrb-1.0.11 lib/wovnrb/services/url.rb
wovnrb-1.0.10 lib/wovnrb/services/url.rb
wovnrb-1.0.9 lib/wovnrb/services/url.rb
wovnrb-1.0.8 lib/wovnrb/services/url.rb
wovnrb-1.0.7 lib/wovnrb/services/url.rb
wovnrb-1.0.6 lib/wovnrb/services/url.rb
wovnrb-1.0.5 lib/wovnrb/services/url.rb
wovnrb-1.0.4 lib/wovnrb/services/url.rb
wovnrb-1.0.2 lib/wovnrb/services/url.rb
wovnrb-1.0.1 lib/wovnrb/services/url.rb
wovnrb-1.0.0 lib/wovnrb/services/url.rb
wovnrb-0.2.30 lib/wovnrb/services/url.rb
wovnrb-0.2.29 lib/wovnrb/services/url.rb
wovnrb-0.2.28 lib/wovnrb/services/url.rb
wovnrb-0.2.27 lib/wovnrb/services/url.rb
wovnrb-0.2.26 lib/wovnrb/services/url.rb
wovnrb-0.2.25 lib/wovnrb/services/url.rb