1. 首页
  2. 数据库
  3. 其它
  4. Ruby的基本语法学习总结

Ruby的基本语法学习总结

上传者: 2021-02-01 06:49:08上传 PDF文件 69.62KB 热度 22次
1、关键字 关键字不能用于定义变量或者常量,module,class,def , undef,defined?,if ,then,else,elsif,case ,when,unless,for,in,while ,until,next,break,do,redo ,retry,yield,not,and,or,true,false,nil,rescue,ensure,super,self,begin,end,BEGIN,END,__FILE__, __LINE__,return,alias 2、注释 单行注释以#开头,如:#这是注释语句 多行注释以=begin开头,以=end结束,如: 代
下载地址
用户评论