Sha256: 71c809aea20c6facce7a8a145057dc251bfb9c3330f562fc9687f10d5e4f69b6
Contents?: true
Size: 256 Bytes
Versions: 20
Compression:
Stored size: 256 Bytes
Contents
require 'xommelier/core_ext/string' require 'uri' class URI::Generic def to_xommelier to_s end end class Uri < String def self.from_xommelier(value) if value.is_a?(URI::Generic) value else URI.parse(value) end end end
Version data entries
20 entries across 20 versions & 1 rubygems