📄 1.htm
字号:
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-1-SECT-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1"><IMG
height=16 src="1.files/btn_next.gif" width=41 align=absMiddle
border=0></A></TD></TR></TBODY></TABLE>
<HR SIZE=1>
<TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width=67 rowSpan=3><IMG
src="1.files/ruby_xs.gif" width=67 border=0></TD>
<TD class=v2 vAlign=top><A class=v1
href="http://proquest.safaribooksonline.com/JVXSL.asp?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1&srchText=">Ruby
in a Nutshell</A><BR>By Yukihiro Matsumoto<BR></TD></TR>
<TR>
<TD class=v2> </TD></TR>
<TR>
<TD class=t1 vAlign=bottom></TD></TR></TBODY></TABLE>
<HR SIZE=1>
<BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top><A name=ruby-CHP-1></A>
<H2 class=docChapterTitle>Chapter 1. Introduction</H2>
<P class=docText>Ruby has been readily adopted by programmers
in Japan and has had much documentation written for it in
Japanese. As programmers outside of Japan learn about the
benefits of Ruby, there is a growing need for documentation in
English. The first book I wrote for O'Reilly, <SPAN
class=docEmphasis>Ruby Pocket Reference</SPAN>, was in
Japanese. Since then Ruby has changed significantly. To meet
the needs of non-Japanese programmers, we translated, updated,
and expanded <SPAN class=docEmphasis>Ruby</SPAN> <SPAN
class=docEmphasis>Pocket Reference</SPAN> into <SPAN
class=docEmphasis>Ruby in a Nutshell</SPAN>. </P>
<P class=docText>Ruby is an object-oriented programming
language that makes programming both enjoyable and fast. With
the easy-to-use interpreter, familiar syntax, complete
object-oriented functionality, and powerful class libraries,
Ruby has become a language that can be applied to a broad
range of fields from text processing and CGI scripts to
professional, large-scale programs. </P>
<P class=docText>While Ruby is easy to learn, there are many
details that you can't be expected to remember. This book
presents those details in a clean and concise format. It is a
reference to keep next to your desktop or laptop, designed to
make Ruby even easier to use. </P>
<P class=docText><A name=IXT-1-126772></A>For those of you who
are new to Ruby, there are several online tutorials available
to get you started: Ruby's home page (<A class=docLink
href="http://www.ruby-lang.org/"
target=_blank>http://www.ruby-lang.org/</A>) is a good
starting pointing as it offers Ruby tutorials and the Ruby
Language FAQ. </P>
<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-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1"
target=_new><IMG height=12 src="1.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-1&open=false&catid=&s=1&b=1&f=1&t=1&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-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1"><IMG
height=9 hspace=3 src="1.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-1&open=false&catid=&s=1&b=1&f=1&t=1&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-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1"><IMG
height=14 hspace=3 src="1.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-1&open=false&catid=&s=1&b=1&f=1&t=1&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-PREF-SECT-4&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1"><IMG
height=16 src="1.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-1-SECT-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1"><IMG
height=16 src="1.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-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1#toppage">Top</A></TD></TR></TBODY></TABLE>
<P>[<A class=v2
href="http://proquest.safaribooksonline.com/0596002149/ruby-CHP-1">http://proquest.safaribooksonline.com/0596002149/ruby-CHP-1</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)
(base)?x=1&mode=section&sortKey=title&sortOrder=asc&view=&xmlid=0-59600-214-9/ruby-CHP-1&open=false&catid=&s=1&b=1&f=1&t=1&c=1&u=1
(mode)section
(xmlid)0-59600-214-9/ruby-CHP-1
(key)7E6FA7863F875E5D371807B896A9188D02D5BE6122A762B263800A09E833AC01645EC3A55C82E53D
(user)29536/82393
(xsl)0ms
(lib)391ms
(xml)171ms
(xsl)204ms
(ent)0ms
(buf)0ms
(tot)1063ms
--></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -