summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-04 03:49:01 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-04 03:49:01 +0000
commit99bb25bea530f922ee157f96dc1c302843b18a34 (patch)
tree0f5e5a0194e129b6e3d31e82702ce67549afd2d9 /lib
parent2a15f7b5b7bee2e67ed4743554ba1b983297b66c (diff)
downloadruby-99bb25bea530f922ee157f96dc1c302843b18a34.tar.gz
ruby-99bb25bea530f922ee157f96dc1c302843b18a34.tar.xz
ruby-99bb25bea530f922ee157f96dc1c302843b18a34.zip
* lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/uri.rb2
-rw-r--r--lib/uri/ftp.rb2
-rw-r--r--lib/uri/mailto.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/uri.rb b/lib/uri.rb
index dec18a110..fe1fdbe57 100644
--- a/lib/uri.rb
+++ b/lib/uri.rb
@@ -15,7 +15,7 @@
=end
module URI
- VERSION_CODE = '000910'.freeze
+ VERSION_CODE = '000911'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
end
diff --git a/lib/uri/ftp.rb b/lib/uri/ftp.rb
index fc22a9975..8183fbcd5 100644
--- a/lib/uri/ftp.rb
+++ b/lib/uri/ftp.rb
@@ -132,7 +132,7 @@ module URI
=begin
=end
- def to_str
+ def to_s
save_path = nil
if @typecode
save_path = @path
diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb
index 0b0d0a587..f01673fd6 100644
--- a/lib/uri/mailto.rb
+++ b/lib/uri/mailto.rb
@@ -217,7 +217,7 @@ module URI
v
end
- def to_str
+ def to_s
@scheme + ':' +
if @to
@to