<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>胡争辉 - ruby</title><link>http://blog.csdn.net/hu_zhenghui/category/311159.aspx</link><description>http://www.ruby-lang.org/
</description><dc:language>zh-CN</dc:language><lastUpdateTime>Sun, 06 Apr 2008 18:28:34 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>胡争辉</dc:creator><title>Module#attr_reader</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/30/1716097.aspx</link><pubDate>Mon, 30 Jul 2007 04:12:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/30/1716097.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1716097.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/30/1716097.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1716097.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1716097</trackback:ping><description>require "PP"class MyClass attr_reader :scheduleendMyObject = MyClass.newPP::pp MyObject.schedule # nillMyObject.schedule = 0 # undefined method `schedule=‘ for #&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1716097.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>Array#join</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/29/1714792.aspx</link><pubDate>Sun, 29 Jul 2007 10:07:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/29/1714792.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1714792.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/29/1714792.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1714792.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1714792</trackback:ping><description>require "PP"PP::pp ["line1", "line2"].join("\n") # "line1\nline2"&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1714792.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>String#center</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/29/1714764.aspx</link><pubDate>Sun, 29 Jul 2007 09:28:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/29/1714764.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1714764.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/29/1714764.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1714764.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1714764</trackback:ping><description>require "PP"PP::pp "hello".center(4) # "hello"PP::pp "hello".center(20) # "hello "PP::pp "hello".center(20, ‘123‘) # "1231231hello12312312"&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1714764.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>Object#respond_to?</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1714166.aspx</link><pubDate>Sat, 28 Jul 2007 21:30:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1714166.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1714166.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1714166.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1714166.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1714166</trackback:ping><description>require "PP"PP::pp Array.new.respond_to?("class") # truePP::pp Array.new.respond_to?("new") # false.&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1714166.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>Object#class</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1714124.aspx</link><pubDate>Sat, 28 Jul 2007 21:25:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1714124.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1714124.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1714124.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1714124.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1714124</trackback:ping><description>require "PP"PP::pp Array.new.class # Array.&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1714124.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>Array::new</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713802.aspx</link><pubDate>Sat, 28 Jul 2007 17:39:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713802.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713802.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713802.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713802.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713802</trackback:ping><description>require "PP"PP::pp Array.new # []&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713802.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>$'</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713777.aspx</link><pubDate>Sat, 28 Jul 2007 17:11:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713777.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713777.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713777.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713777.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713777</trackback:ping><description>require "PP"/(\w ), (\w ), or (\w )/ =~ ‘Without a Bob, ox, or bin!‘PP::pp $ # "Without a "&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713777.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>$`</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713754.aspx</link><pubDate>Sat, 28 Jul 2007 17:01:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713754.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713754.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713754.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713754.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713754</trackback:ping><description>require "PP"/(\w ), (\w ), or (\w )/ =~ ‘Without a Bob, ox, or bin!‘PP::pp $` # "Without a "&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713754.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>$&amp;</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713748.aspx</link><pubDate>Sat, 28 Jul 2007 16:53:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713748.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713748.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713748.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713748.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713748</trackback:ping><description>require "PP"/(\w ), (\w ), or (\w )/ =~ ‘Without a Bob, ox, or bin!‘PP::pp $&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713748.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>String#[regexp]</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713725.aspx</link><pubDate>Sat, 28 Jul 2007 16:31:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713725.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713725.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713725.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713725.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713725</trackback:ping><description>require "PP"PP::pp "has 5 and 3" [/\d /] # "5"&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713725.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>MatchData#post_match</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713706.aspx</link><pubDate>Sat, 28 Jul 2007 16:20:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713706.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713706.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713706.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713706.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713706</trackback:ping><description>require "PP"re = /(\w ), (\w ), or (\w )/s = ‘Without a Bob, ox, or bin!‘match = re.match(s)PP::pp match.post_match # "!"&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713706.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>MatchData#pre_match</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713701.aspx</link><pubDate>Sat, 28 Jul 2007 16:16:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713701.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1713701.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/28/1713701.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1713701.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1713701</trackback:ping><description>require "PP"re = /(\w ), (\w ), or (\w )/s = ‘Without a Bob, ox, or bin!‘match = re.match(s)PP::pp match.pre_match #"Without a "&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1713701.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>Array#sort</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/27/1712685.aspx</link><pubDate>Fri, 27 Jul 2007 22:44:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/27/1712685.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1712685.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/27/1712685.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1712685.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1712685</trackback:ping><description>require "PP"PP::pp [3, 1, 2].sort #[1, 2, 3]&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1712685.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>regexp#match</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/27/1711854.aspx</link><pubDate>Fri, 27 Jul 2007 17:48:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/27/1711854.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1711854.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/27/1711854.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1711854.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1711854</trackback:ping><description>require "PP"PP::pp /a/.match(‘this is a string‘) # #&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1711854.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>胡争辉</dc:creator><title>String#include?</title><link>http://blog.csdn.net/hu_zhenghui/archive/2007/07/09/1683598.aspx</link><pubDate>Mon, 09 Jul 2007 13:48:00 GMT</pubDate><guid>http://blog.csdn.net/hu_zhenghui/archive/2007/07/09/1683598.aspx</guid><wfw:comment>http://blog.csdn.net/hu_zhenghui/comments/1683598.aspx</wfw:comment><comments>http://blog.csdn.net/hu_zhenghui/archive/2007/07/09/1683598.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/hu_zhenghui/comments/commentRss/1683598.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1683598</trackback:ping><description>require "PP"PP::pp "hello".include?("lo") # truePP::pp "hello".include?("ol") # falsePP::pp "hello".include?(?h) # true.&lt;img src ="http://blog.csdn.net/hu_zhenghui/aggbug/1683598.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>