<?xml version="1.0" encoding="gbk"?>
			<?xml-stylesheet type="text/css" href="http://rc.org.cn/css/rss.css"?>
			<rss version="2.0">
			  <channel>
			    <title>quzhongwei的个人空间</title>
			    <link>http://rc.org.cn/?uid-6827</link>
			    <description></description>
			    <copyright>Copyright(C) quzhongwei的个人空间</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Sun, 05 Jul 2009 11:12:15 GMT</lastBuildDate><item>
								<title>A.9 范围</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-752</link>
								<description><![CDATA[范围（Range）可以是多枚举值的一种简单形式，有两种形式：<br />
<br />
a = 1..5&nbsp; &nbsp;# 1, 2, 3, 4, 5<br />
b = 1...5&nbsp;&nbsp;# 1, 2, 3, 4<br />
<br />
puts a.to_a<br />
puts b.to_a<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; 这里a，b是Rang...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Mon, 30 Jun 2008 00:08:21 GMT</pubDate>
							</item>
							<item>
								<title>A.7 字符串－－（附：Here Document处理技巧）</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-751</link>
								<description><![CDATA[一系列字符可以用一对单引号或双引号括起来成为字符串。Ruby的字符串是String类的对象。单引号和双引号括起来的字符串并不完全相同，比如：<br />
<br />
ok = &quot;OK&quot;<br />
<br />
puts &quot;Hello -&gt; #{ok}&quot;&nbsp;&nbsp;# 输出：Hello -&gt; OK<br...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Wed, 18 Jun 2008 11:52:34 GMT</pubDate>
							</item>
							<item>
								<title>A.6 数值类型</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-750</link>
								<description><![CDATA[Ruby中有3种数值类型：Fixnum和Bignum是整数类型，Float类型作为浮点数可以表示范围非常大的小数。<br />
&nbsp; &nbsp; &nbsp; &nbsp; 通常我们认为的像5这样数在Ruby里面也是对象，比如：<br />
<br />
class Test<br />
&nbsp; &nbsp; 5.times { |i| print i&nbsp;...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Wed, 18 Jun 2008 01:36:35 GMT</pubDate>
							</item>
							<item>
								<title>今天休息来观光又一个框架</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-748</link>
								<description><![CDATA[觉得Merb的讲解,如果能吸取Lua语言的Kepler项目的一些思想,那么实为我国Ruby应用之幸事,同为动态敏捷语言,Lua并没有向一些Rubyist所想象的那样已经过去,请看看下面的内容,你会觉得惊奇:<br />
<br />
&nbsp; &nbsp; Kepler是一个简单且轻量的Web开发平台(但这并不意味着...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Sat, 14 Jun 2008 14:48:05 GMT</pubDate>
							</item>
							<item>
								<title>A.5 例子—辨析——说明</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-747</link>
								<description><![CDATA[请研究下列程序,你会有非常意外的收获：<p style="font-weight: bold; margin: 1em 1em 0 1em;">CODE:</p><code style="display: block; margin: 0 1em 1em; padding: 0.5em; border: 1px solid #CCC; font: 12px Courier, monospace; line-height: 1.8em;">class A<br />...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Fri, 13 Jun 2008 18:04:16 GMT</pubDate>
							</item>
							<item>
								<title>A.5 变量和它的作用域－－－（2）</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-746</link>
								<description><![CDATA[3、实例变量<br />
&nbsp; &nbsp; &nbsp; &nbsp; 在Ruby中实例变量名以“@”开头，同样每个实例变量使用前无需声明，它会在第一次使用时被动态加入到对象之中。这里的对象就是一个类的实例。我们可以这样来构造一个类的实例：<br />
<br />
class A<br />
&nbsp; &nbs...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Fri, 13 Jun 2008 16:16:19 GMT</pubDate>
							</item>
							<item>
								<title>A.5 变量和它的作用域－－－（1）</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-745</link>
								<description><![CDATA[常量一般要求其值不用再改变了。这样不会运动的量不会产生丰富的且富于变化的时空效应。这里空间指它占用的内存空间，时间指它的值的变化特性。显然我们为了描述世界或着构造概念的时候，希望有些量在占用了内存空间后可以是随着时间来变化的，这时候我们需要定义变量。给...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Fri, 13 Jun 2008 13:02:10 GMT</pubDate>
							</item>
							<item>
								<title>Ruby 1.9加入纤程实现轻量级并发——转发</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-744</link>
								<description><![CDATA[Ruby的线程成为人们的讨论议题已经很长时间了。未来版本的Ruby（1.9及更高）是否将使用内核线程（kernel thread）替代用户线程（userspace threads），仍有待决定。最近，关于Ruby中这一系列问题的另一条途径已经出现。David Flanagan指出了Ruby 1.9分支中的一个新特性——...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Thu, 12 Jun 2008 15:03:48 GMT</pubDate>
							</item>
							<item>
								<title>A.4 常量</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-743</link>
								<description><![CDATA[Ruby区分大小写， Ruby的常量以大写字母开头，一般在定义常量时就进行赋值，以后如果再对常量进行赋值会引发一些警告。由于Ruby是弱类型语言，弱类型语言标志着Ruby在定义常量时不需要指定变量和常量的类型，因此你要特别注意相关标识符的定义，比如，Ruby中，一般的规则方...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Thu, 12 Jun 2008 09:20:29 GMT</pubDate>
							</item>
							<item>
								<title>A.3 作业：答案</title>
								<link>http://rc.org.cn/?uid-6827-action-viewspace-itemid-742</link>
								<description><![CDATA[有这样作的：<p style="font-weight: bold; margin: 1em 1em 0 1em;">CODE:</p><code style="display: block; margin: 0 1em 1em; padding: 0.5em; border: 1px solid #CCC; font: 12px Courier, monospace; line-height: 1.8em;">alias myMethod while<br />
myMethod</...]]></description>
								<category>blog</category>
								<author>quzhongwei</author>
								<pubDate>Wed, 11 Jun 2008 19:10:34 GMT</pubDate>
							</item>
							
		</channel>
	</rss>