summaryrefslogtreecommitdiff
path: root/lib/uri/mailto.rb
diff options
context:
space:
mode:
authorakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-14 05:32:48 +0000
committerakira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-14 05:32:48 +0000
commitbfa0275833b60de39c8f890d6f47045d1ef4b26e (patch)
treeea98bab2d95391f816d42c41cc9dee354cdce857 /lib/uri/mailto.rb
parent246800d42bf1cb6d2031491ebb26c999b19ddeea (diff)
* lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()
returns arguments passed by caller. * lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. * lib/uri/generic.rb (Generic#==): should not generate an URI object from argument. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/uri/mailto.rb')
-rw-r--r--lib/uri/mailto.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/uri/mailto.rb b/lib/uri/mailto.rb
index d50d2b792f..0b0d0a5878 100644
--- a/lib/uri/mailto.rb
+++ b/lib/uri/mailto.rb
@@ -172,6 +172,7 @@ module URI
def to=(v)
check_to(v)
set_to(v)
+ v
end
=begin
@@ -213,6 +214,7 @@ module URI
def headers=(v)
check_headers(v)
set_headers(v)
+ v
end
def to_str