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-0.2.05 | lib/wovnrb/services/url.rb |
wovnrb-0.2.04 | lib/wovnrb/services/url.rb |
wovnrb-0.2.03 | lib/wovnrb/services/url.rb |
wovnrb-0.2.02 | lib/wovnrb/services/url.rb |