Class: URI::Generic

Inherits:
Object
  • Object
show all
Defined in:
lib/ryodo/ext/uri.rb

Instance Method Summary collapse

Instance Method Details

#set_host(value) ⇒ Object

rubocop:disable Style/AccessorMethodName



8
9
10
# File 'lib/ryodo/ext/uri.rb', line 8

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

#set_host_stringObject



5
# File 'lib/ryodo/ext/uri.rb', line 5

alias_method :set_host_string, :set_host