<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lanourlee的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lanourlee</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lanourlee]]></copyright><item><title><![CDATA[ruby String]]></title><link>https://blog.youkuaiyun.com/lanourlee/article/details/8762652</link><guid>https://blog.youkuaiyun.com/lanourlee/article/details/8762652</guid><author>lanourlee</author><pubDate>Fri, 05 Apr 2013 21:53:06 +0800</pubDate><description><![CDATA[1.返回字符串的长度
str.length => integer
 
2.判断字符串中是否包含另一个串
str.include? other_str => true or false
"hello".include? "lo" #=> true
"hello".include? "ol" #=> false
"hello".include? ?h #=> true
 
3.字符串]]></description><category></category></item><item><title><![CDATA[Ruby for mac10.8]]></title><link>https://blog.youkuaiyun.com/lanourlee/article/details/8762194</link><guid>https://blog.youkuaiyun.com/lanourlee/article/details/8762194</guid><author>lanourlee</author><pubDate>Fri, 05 Apr 2013 19:41:20 +0800</pubDate><description><![CDATA[1. Install Xcode and the Command Line Tools

If you don't have it installed I suggest you install Xcode from the Mac App Store and install the command line tools in Xcode Preferences -> Downloads.]]></description><category></category></item></channel></rss>