Project

General

Profile

Bug #11759 » 11759.patch

colindkelley (Colin Kelley), 12/02/2015 07:08 AM

View differences:

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
(2-2/4)