![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ruby
文章平均质量分 80
lanourlee
这个作者很懒,什么都没留下…
展开
-
Ruby for mac10.8
1. Install Xcode and the Command Line ToolsIf 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.转载 2013-04-05 19:41:20 · 1908 阅读 · 0 评论 -
ruby String
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.字符串转载 2013-04-05 21:53:06 · 366 阅读 · 0 评论