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

* lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by

join.  some other methods as well.  [ruby-dev:29613]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-09-27 08:37:48 +00:00
parent 9856258cd0
commit 02a8f15c9b
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
Wed Sep 27 13:29:01 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/cgi.rb (CGI::TagMaker::nOE_element_def): replace to_s by
join. some other methods as well. [ruby-dev:29613]
Wed Sep 27 01:04:49 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/mkmf.rb (try_func): check function pointer first and macro next.

View file

@ -1306,7 +1306,7 @@ class CGI
else
'="' + CGI::escapeHTML(value) + '"'
end
}.to_s + ">"
}.join + ">"
END
s.sub!(/\Z/, " +") << append if append
s
@ -1529,7 +1529,7 @@ class CGI
value[value.size - 1]
end
end
}.to_s
}.join
end
@ -1609,7 +1609,7 @@ class CGI
if @output_hidden
body += @output_hidden.collect{|k,v|
"<INPUT TYPE=\"HIDDEN\" NAME=\"#{k}\" VALUE=\"#{v}\">"
}.to_s
}.join
end
super(attributes){body}
end
@ -1907,7 +1907,7 @@ class CGI
}
end
end
}.to_s
}.join
}
end
@ -1984,7 +1984,7 @@ class CGI
value[value.size - 1]
end
end
}.to_s
}.join
end
# Generate a reset button Input element, as a String.