📄 6.htm.bak
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0171)http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1 -->
<HTML><HEAD><TITLE>Safari Tech Books Online - Ruby in a Nutshell</TITLE>
<META http-equiv=Content-Type content="text/html; charset=big5"><LINK
href="6.files/style.css" type=text/css rel=STYLESHEET><LINK
href="6.files/docsafari.css" type=text/css rel=STYLESHEET>
<SCRIPT>
function OpenWin(url, w, h)
{
if(!w) w = 400;
if(!h) h = 300;
window.open(url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true);
}
</SCRIPT>
<META content="MSHTML 6.00.2462.0" name=GENERATOR></HEAD>
<BODY leftMargin=0 topMargin=0 marginheight="0" marginwidth="0"><A
name=toppage></A><SPAN class=v2></SPAN>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top><A name=ruby-CHP-6></A>
<H2 class=docChapterTitle>Chapter 6. Ruby Updates</H2>
<P class=docText><A name=IXT-6-128962></A><A
name=ruby-IDXTERM-2263></A>Compared to most other languages,
Ruby is rather young. As a result, it's still evolving fairly
rapidly. </P>
<P class=docText><A name=IXT-6-128963></A><A
name=IXT-6-128964></A>If you find a bug in Ruby, the first
thing to do is to check the bug database and see if the
problem has already been reported. The bug database can be
found at <A class=docLink
href="http://www.ruby-lang.org/cgi-bin/ruby-bugs"
target=_blank>http://www.ruby-lang.org/cgi-bin/ruby-bugs</A>.
You can either send the bug report directly from that page or
send an email to <A class=docLink
href="mailto:ruby-bugs@ruby-lang.org">ruby-bugs@ruby-lang.org</A>.
When you submit your bug, try to include all relevant
information such as source code, operating system, the output
from <TT>ruby</TT> <TT>-v</TT>, and what version/build of Ruby
you are running. If you have compiled your own build of Ruby,
you should also include the <TT>rbconfig.rb</TT>. </P>
<P class=docText><A name=IXT-6-128965></A>The current stable
version of Ruby can always be found at <A class=docLink
href="http://www.ruby-lang.org/en/download.html"
target=_blank>http://www.ruby-lang.org/en/download.html</A>.
There are also several mirror sites available. </P>
<P class=docText><A name=IXT-6-128966></A>The current
developmental release can be obtained from the CVS (Concurrent
Version System) repository. See <A class=docLink
href="http://www.ruby-lang.org/en/cvsrepo.html"
target=_blank>http://www.ruby-lang.org/en/cvsrepo.html</A> for
instructions. You can get CVS tools from <A class=docLink
href="http://www.cvshome.com/"
target=_blank>http://www.cvshome.com/</A>. </P><A
href="http://proquest.safaribooksonline.com/JVXSL.asp?xmlid=0-59600-214-9/1061532"><IMG
height=1 src="6.files/pixel.htm" width=1 border=0></A>
<UL></UL></TD></TR></TBODY></TABLE>
<HR SIZE=1>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD height=15> </TD></TR>
<TR>
<TD class=v2 vAlign=top><A
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=print&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1"
target=_new><IMG height=12 src="6.files/img_print.gif"
width=14 align=textTop border=0></A> <A class=v2
title="Printer-friendly version of this section"
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=print&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1"
target=_new>Print</A> <A
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=email&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1"><IMG
height=9 hspace=3 src="6.files/img_email.gif" width=15
align=absMiddle border=0></A> <A class=v2
title="E-Mail this section"
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=email&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1">E-Mail</A>
<A
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=bookmark&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1"><IMG
height=14 hspace=3 src="6.files/img_bookmarks.gif" width=6
align=absMiddle border=0></A> <A class=v2
title="Add a bookmark about this section"
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=bookmark&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1">Add
Bookmark</A></TD>
<TD class=v2 vAlign=top align=right> <A
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-5-SECT-3&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1"><IMG
height=16 src="6.files/btn_prev.gif" width=56 align=absMiddle
border=0></A> <A
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6-SECT-1&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1"><IMG
height=16 src="6.files/btn_next.gif" width=41 align=absMiddle
border=0></A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=right><A class=v1
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1#toppage">Top</A></TD></TR></TBODY></TABLE>
<P>[<A class=v2
href="http://proquest.safaribooksonline.com/0596002149/ruby-CHP-6">http://proquest.safaribooksonline.com/0596002149/ruby-CHP-6</A>]
</P></TD></TR></TBODY></TABLE></TD>
<TD align=middle> </TD></TR>
<TR>
<TD vAlign=bottom align=middle colSpan=3><BR>
<TABLE>
<TBODY>
<TR>
<TD class=v2 vAlign=center align=middle colSpan=4
height=25> <A class=v1
title="Information About Safari Tech Books Online"
href="http://proquest.safaribooksonline.com/JVXSL.asp?mode=About">About
Safari</A> | <A class=v1
title="Safari Tech Books Online terms of service"
href="http://proquest.safaribooksonline.com/JVXSL.asp?mode=Terms">Terms
of Service</A> | <A class=v1
title="Safari Tech Books Online privacy policy"
href="http://proquest.safaribooksonline.com/JVXSL.asp?mode=Privacy">Privacy
Policy</A> | <A class=v1
title="Contacting Safari Tech Books Online"
href="http://proquest.safaribooksonline.com/JVXSL.asp?mode=Contact">Contact
Us</A> | <A class=v1
title="Safari Tech Books Online help"
href="http://proquest.safaribooksonline.com/JVXSL.asp?mode=Help">Help</A>
| <A class=v1
title="Submit a defect or enhancement request"
href="http://proquest.safaribooksonline.com/JVXSL.asp?mode=Submit">Submit
a Problem</A></TD></TR>
<TR>
<TD class=v2 vAlign=center align=middle height=20>Copyright © 2002
Safari Tech Books Online. All rights reserved.</TD></TR>
<TR vAlign=center>
<TD class=v2 vAlign=center align=middle colSpan=4 height=20>75
Arlington Street, Floor 3<BR>Boston, MA 02116<BR>800-775-7330</TD></TR>
<TR vAlign=center>
<TD class=v2 vAlign=center align=middle colSpan=4
height=5> </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!--
(guidin)EE94E575-D563-4A31-90-AF-CA-B8-45-75-5B-41
(guidout)EE94E575-D563-4A31-90-AF-CA-B8-45-75-5B-41
(ip)147.8.179.17
(host)proquest.safaribooksonline.com
(portal)proquest
(ref)http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=toc&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1&srchText=
(base)?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-6&open=false&catid=&s=1&b=1&f=1&t=0&c=1&u=1
(mode)section
(xmlid)0-59600-214-9/ruby-CHP-6
(key)7E6FA7863F875E5D371807B896A9188D02D5BE6122A762B263800A09E833AC01645EC3A55C82E53D
(user)29536/82393
(xsl)0ms
(lib)453ms
(xml)329ms
(xsl)187ms
(ent)0ms
(buf)0ms
(tot)985ms
--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -