Sha256: 27c05e5a80039b964d90ac245ef60e0e08a1fb9a85636242b75268ac0aba4d54
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
require 'addressable/uri' ::Url = Class.new Addressable::URI module Gorillib::Factory class UrlFactory < Gorillib::Factory::ConvertingFactory self.product = ::Url def convert(obj) product.parse(obj) ; end register_factory! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gorillib-model-0.0.3 | lib/gorillib/model/type/url.rb |
gorillib-model-0.0.1 | lib/gorillib/model/type/url.rb |