Sha256: 97dd9fdc7945c9df78571514df58dd2f8f3aa00bc5bc25e9697b9d110f06ed59
Contents?: true
Size: 308 Bytes
Versions: 2
Compression:
Stored size: 308 Bytes
Contents
require "uri" module URI class Generic alias_method :set_host_string, :set_host # rubocop:disable Style/AccessorMethodName def set_host(value) @host = Ryodo.parse(set_host_string(value)) unless set_host_string(value).nil? end # rubocop:enable Style/AccessorMethodName end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ryodo-0.3.2 | lib/ryodo/ext/uri.rb |
ryodo-0.3.1 | lib/ryodo/ext/uri.rb |