Bug #11759 » 11759.patch
lib/uri/generic.rb | ||
---|---|---|
# frozen_string_literal: true
|
||
# = uri/generic.rb
|
||
#
|
||
# Author:: Akira Yamada <akira@ruby-lang.org>
|
||
... | ... | |
# Constructs String from URI
|
||
#
|
||
def to_s
|
||
str = ''
|
||
str = String.new
|
||
if @scheme
|
||
str << @scheme
|
||
str << ':'.freeze
|