摘要:
条件控制本人喜欢用程序demo记录的方式来记录某方法的使用,如times方法,仅作个人学习记录#--------------if语句(相反是unless)而while相同于until--------------print "--------------if------------------------ps: in ruby,the symbol ','just works as plusing string\n"x = 0if x==0 then endp "x=0" if x==0unless x!=0 then end#--> 阅读全文
posted @ 2014-03-19 17:18
君子笑而不语
阅读(141)
评论(0)
推荐(0)