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:
parent
9856258cd0
commit
02a8f15c9b
2 changed files with 10 additions and 5 deletions
|
@ -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>
|
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.
|
* lib/mkmf.rb (try_func): check function pointer first and macro next.
|
||||||
|
|
10
lib/cgi.rb
10
lib/cgi.rb
|
@ -1306,7 +1306,7 @@ class CGI
|
||||||
else
|
else
|
||||||
'="' + CGI::escapeHTML(value) + '"'
|
'="' + CGI::escapeHTML(value) + '"'
|
||||||
end
|
end
|
||||||
}.to_s + ">"
|
}.join + ">"
|
||||||
END
|
END
|
||||||
s.sub!(/\Z/, " +") << append if append
|
s.sub!(/\Z/, " +") << append if append
|
||||||
s
|
s
|
||||||
|
@ -1529,7 +1529,7 @@ class CGI
|
||||||
value[value.size - 1]
|
value[value.size - 1]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
}.to_s
|
}.join
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
@ -1609,7 +1609,7 @@ class CGI
|
||||||
if @output_hidden
|
if @output_hidden
|
||||||
body += @output_hidden.collect{|k,v|
|
body += @output_hidden.collect{|k,v|
|
||||||
"<INPUT TYPE=\"HIDDEN\" NAME=\"#{k}\" VALUE=\"#{v}\">"
|
"<INPUT TYPE=\"HIDDEN\" NAME=\"#{k}\" VALUE=\"#{v}\">"
|
||||||
}.to_s
|
}.join
|
||||||
end
|
end
|
||||||
super(attributes){body}
|
super(attributes){body}
|
||||||
end
|
end
|
||||||
|
@ -1907,7 +1907,7 @@ class CGI
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
}.to_s
|
}.join
|
||||||
}
|
}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -1984,7 +1984,7 @@ class CGI
|
||||||
value[value.size - 1]
|
value[value.size - 1]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
}.to_s
|
}.join
|
||||||
end
|
end
|
||||||
|
|
||||||
# Generate a reset button Input element, as a String.
|
# Generate a reset button Input element, as a String.
|
||||||
|
|
Loading…
Add table
Reference in a new issue