* lib/cgi/html.rb: remove 'super {yield}' which is for old version.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
xibbar 2013-04-11 14:27:44 +00:00
Родитель ce100d3690
Коммит 656abe3920
1 изменённых файлов: 6 добавлений и 30 удалений

Просмотреть файл

@ -99,11 +99,7 @@ class CGI
else
href
end
if block_given?
super(attributes){ yield }
else
super(attributes)
end
super(attributes)
end
# Generate a Document Base URI element as a String.
@ -121,11 +117,7 @@ class CGI
else
href
end
if block_given?
super(attributes){ yield }
else
super(attributes)
end
super(attributes)
end
# Generate a BlockQuote element as a string.
@ -144,11 +136,7 @@ class CGI
else
cite
end
if block_given?
super(attributes){ yield }
else
super(attributes)
end
super(attributes)
end
@ -168,11 +156,7 @@ class CGI
else
align
end
if block_given?
super(attributes){ yield }
else
super(attributes)
end
super(attributes)
end
@ -435,11 +419,7 @@ class CGI
buf << doctype
end
if block_given?
buf << super(attributes){ yield }
else
buf << super(attributes)
end
buf << super(attributes)
if pretty
CGI::pretty(buf, pretty)
@ -831,11 +811,7 @@ class CGI
else
name
end
if block_given?
super(attributes){ yield }
else
super(attributes)
end
super(attributes)
end
end # HtmlExtension