ruby学习笔记(2) -- 概念类
学习ruby中记录下的一些要点和感悟,随缘更新内容来自 《“笨方法”学ruby》、https://www.runoob.com/ ,此处仅做记录
KeyWord
alias and BEGIN begin break case class def defined? do else elsif END end ensure
false for if in module next nil nor or redo rescue retry return self super then true
undef unless until when while yield Data Class
true false nil constants strings numbers ranges arrays hashes String Formats
\\ \' \" \a \b \n \r \t \v Operators
:: [] ** -(unary) +(unary) ! ~ * / % + - << >> & | > >= < <= <=> == === != =~ && || .. ...逻辑术语
and和or或not非!=不等于==等于>=大于等于
页:
[1]