<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.vupslash.icu/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ARuby</id>
	<title>模块:Ruby - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.vupslash.icu/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ARuby"/>
	<link rel="alternate" type="text/html" href="https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;action=history"/>
	<updated>2026-04-16T17:44:00Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;diff=315&amp;oldid=prev</id>
		<title>2022年4月8日 (五) 03:40 Root</title>
		<link rel="alternate" type="text/html" href="https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;diff=315&amp;oldid=prev"/>
		<updated>2022-04-08T03:40:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2022年4月8日 (五) 11:40的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;第25行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第25行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtid = get_arg(&amp;#039;rtid&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtid = get_arg(&amp;#039;rtid&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtsize = get_arg(&amp;#039;rtsize&amp;#039;) or &amp;#039;0.75em&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtsize = get_arg(&amp;#039;rtsize&amp;#039;) or &amp;#039;0.75em&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rbtext = get_arg(1, true) or &amp;#039;{{{1&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rbtext = get_arg(1, true) or &amp;#039;{{{1}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rttext = get_arg(2, true) or &amp;#039;{{{2&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/del&gt;}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rttext = get_arg(2, true) or &amp;#039;{{{2}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rblang = get_arg(3)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rblang = get_arg(3)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtlang = get_arg(4) or rblang&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtlang = get_arg(4) or rblang&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key VupSlashWiki:diff::1.12:old-314:rev-315 --&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;diff=314&amp;oldid=prev</id>
		<title>2022年4月8日 (五) 03:38 Root</title>
		<link rel="alternate" type="text/html" href="https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;diff=314&amp;oldid=prev"/>
		<updated>2022-04-08T03:38:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2022年4月8日 (五) 11:38的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot;&gt;第25行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第25行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtid = get_arg(&amp;#039;rtid&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtid = get_arg(&amp;#039;rtid&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtsize = get_arg(&amp;#039;rtsize&amp;#039;) or &amp;#039;0.75em&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtsize = get_arg(&amp;#039;rtsize&amp;#039;) or &amp;#039;0.75em&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rbtext = get_arg(1, true) or &amp;#039;{{{1}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rbtext = get_arg(1, true) or &amp;#039;{{{1&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rttext = get_arg(2, true) or &amp;#039;{{{2}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rttext = get_arg(2, true) or &amp;#039;{{{2&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;}}}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rblang = get_arg(3)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rblang = get_arg(3)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtlang = get_arg(4) or rblang&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local rtlang = get_arg(4) or rblang&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key VupSlashWiki:diff::1.12:old-310:rev-314 --&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>
	</entry>
	<entry>
		<id>https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;diff=310&amp;oldid=prev</id>
		<title>Root：​创建页面，内容为“local module = {} local g_frame  function get_arg(name, plain) 	if g_frame.args[name] and (mw.text.trim(g_frame.args[name]) ~= &#039;&#039; or plain) then 		return mw.text.trim(g_frame.args[name]) 	end end  function module.ruby(frame) 	local parent = frame:getParent() 	if parent and (parent:getTitle() == &quot;Template:Ruby&quot; or parent:getTitle() == &quot;Template:Ruby/Sandbox&quot;) then 		frame = parent 	end 	g_frame = frame  	local class = get_arg(&#039;class&#039;) 	local id = get_arg(&#039;id&#039;)…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.vupslash.icu/index.php?title=%E6%A8%A1%E5%9D%97:Ruby&amp;diff=310&amp;oldid=prev"/>
		<updated>2022-04-08T03:25:08Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“local module = {} local g_frame  function get_arg(name, plain) 	if g_frame.args[name] and (mw.text.trim(g_frame.args[name]) ~= &amp;#039;&amp;#039; or plain) then 		return mw.text.trim(g_frame.args[name]) 	end end  function module.ruby(frame) 	local parent = frame:getParent() 	if parent and (parent:getTitle() == &amp;quot;Template:Ruby&amp;quot; or parent:getTitle() == &amp;quot;Template:Ruby/Sandbox&amp;quot;) then 		frame = parent 	end 	g_frame = frame  	local class = get_arg(&amp;#039;class&amp;#039;) 	local id = get_arg(&amp;#039;id&amp;#039;)…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local module = {}&lt;br /&gt;
local g_frame&lt;br /&gt;
&lt;br /&gt;
function get_arg(name, plain)&lt;br /&gt;
	if g_frame.args[name] and (mw.text.trim(g_frame.args[name]) ~= &amp;#039;&amp;#039; or plain) then&lt;br /&gt;
		return mw.text.trim(g_frame.args[name])&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function module.ruby(frame)&lt;br /&gt;
	local parent = frame:getParent()&lt;br /&gt;
	if parent and (parent:getTitle() == &amp;quot;Template:Ruby&amp;quot; or parent:getTitle() == &amp;quot;Template:Ruby/Sandbox&amp;quot;) then&lt;br /&gt;
		frame = parent&lt;br /&gt;
	end&lt;br /&gt;
	g_frame = frame&lt;br /&gt;
&lt;br /&gt;
	local class = get_arg(&amp;#039;class&amp;#039;)&lt;br /&gt;
	local id = get_arg(&amp;#039;id&amp;#039;)&lt;br /&gt;
	local css = get_arg(&amp;#039;css&amp;#039;)&lt;br /&gt;
	local style = get_arg(&amp;#039;style&amp;#039;) or css&lt;br /&gt;
	local rbclass = get_arg(&amp;#039;rbclass&amp;#039;)&lt;br /&gt;
	local rbid = get_arg(&amp;#039;rbid&amp;#039;)&lt;br /&gt;
	local rbsize = get_arg(&amp;#039;rbsize&amp;#039;)&lt;br /&gt;
	local rtclass = get_arg(&amp;#039;rtclass&amp;#039;)&lt;br /&gt;
	local rtid = get_arg(&amp;#039;rtid&amp;#039;)&lt;br /&gt;
	local rtsize = get_arg(&amp;#039;rtsize&amp;#039;) or &amp;#039;0.75em&amp;#039;&lt;br /&gt;
	local rbtext = get_arg(1, true) or &amp;#039;{{{1}}}&amp;#039;&lt;br /&gt;
	local rttext = get_arg(2, true) or &amp;#039;{{{2}}}&amp;#039;&lt;br /&gt;
	local rblang = get_arg(3)&lt;br /&gt;
	local rtlang = get_arg(4) or rblang&lt;br /&gt;
&lt;br /&gt;
	local html = mw.html.create():tag(&amp;#039;ruby&amp;#039;)&lt;br /&gt;
	if class then html:addClass(class) end&lt;br /&gt;
	if id then html:attr(&amp;#039;id&amp;#039;, id) end&lt;br /&gt;
	if style then html:cssText(style) end&lt;br /&gt;
&lt;br /&gt;
	local rb = html:tag(&amp;#039;rb&amp;#039;):attr(&amp;#039;data-id&amp;#039;, &amp;#039;template-ruby&amp;#039;)&lt;br /&gt;
	if rbclass then rb:addClass(rbclass) end&lt;br /&gt;
	if rbid then rb:attr(&amp;#039;id&amp;#039;, rbid) end&lt;br /&gt;
	if rbsize then rb:css(&amp;#039;font-size&amp;#039;, rbsize) end&lt;br /&gt;
&lt;br /&gt;
	if rblang then&lt;br /&gt;
		rb:wikitext( frame:expandTemplate{ title = &amp;#039;lang&amp;#039;, args = { rblang, rbtext } } )&lt;br /&gt;
	else&lt;br /&gt;
		rb:wikitext(rbtext)&lt;br /&gt;
	end&lt;br /&gt;
	rb:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;template-ruby-hidden&amp;#039;):wikitext(&amp;#039;（&amp;#039;):done()&lt;br /&gt;
&lt;br /&gt;
	local rt = html:tag(&amp;#039;rt&amp;#039;)&lt;br /&gt;
	if rtclass then rt:addClass(rtclass) end&lt;br /&gt;
	if rtid then rt:attr(&amp;#039;id&amp;#039;, rtid) end&lt;br /&gt;
	rt:css(&amp;#039;font-size&amp;#039;, rtsize)&lt;br /&gt;
	if rtlang then&lt;br /&gt;
		rt:wikitext( frame:expandTemplate{ title = &amp;#039;lang&amp;#039;, args = { rtlang, rttext } } )&lt;br /&gt;
	else&lt;br /&gt;
		rt:wikitext(rttext)&lt;br /&gt;
	end&lt;br /&gt;
	html:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;template-ruby-hidden&amp;#039;):wikitext(&amp;#039;）&amp;#039;):done()&lt;br /&gt;
&lt;br /&gt;
	return html&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return module&lt;/div&gt;</summary>
		<author><name>Root</name></author>
	</entry>
</feed>