Sha256: 6d076cd49bc364b7fd9c79b8145dc508891d1aadb0e374edca8660e15e72cc65

Contents?: true

Size: 210 Bytes

Versions: 4

Compression:

Stored size: 210 Bytes

Contents

# encoding: utf-8
require "uri"

class URI::Generic

  alias_method :set_host_string, :set_host

  def set_host(v)
    @host = Ryodo.parse(self.set_host_string(v)) unless self.set_host_string(v).nil?
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ryodo-0.2.2 lib/ryodo/ext/uri.rb
ryodo-0.2.0 lib/ryodo/ext/uri.rb
ryodo-0.1.0.1 lib/ryodo/ext/uri.rb
ryodo-0.1.0 lib/ryodo/ext/uri.rb