Method: Bundler::URI::File#set_host
- Defined in:
- lib/bundler/vendor/uri/lib/uri/file.rb
#set_host(v) ⇒ Object
Protected setter for the host component v.
See also Bundler::URI::Generic.host=.
62 63 64 65 |
# File 'lib/bundler/vendor/uri/lib/uri/file.rb', line 62 def set_host(v) v = "" if v.nil? || v == "localhost" @host = v end |