1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akira 2003-10-04 03:49:01 +00:00
parent 51267d1177
commit d6f70951db
4 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sat Oct 4 12:44:45 2003 akira yamada <akira@ruby-lang.org>
* lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.
Sat Oct 4 07:33:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org> Sat Oct 4 07:33:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org>
* lib/test/unit/testsuite.rb: changed #<< to return self, and added * lib/test/unit/testsuite.rb: changed #<< to return self, and added

View file

@ -15,7 +15,7 @@
=end =end
module URI module URI
VERSION_CODE = '000910'.freeze VERSION_CODE = '000911'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
end end

View file

@ -132,7 +132,7 @@ module URI
=begin =begin
=end =end
def to_str def to_s
save_path = nil save_path = nil
if @typecode if @typecode
save_path = @path save_path = @path

View file

@ -217,7 +217,7 @@ module URI
v v
end end
def to_str def to_s
@scheme + ':' + @scheme + ':' +
if @to if @to
@to @to