Ruby Tips!

RubyのTipsを紹介します

Rubyの予約語の一覧

Ruby予約語には以下がある。
これらの予約語は変数名やメソッド名に使うことができず、実際に使うとエラーとなる。

BEGIN class ensure nil self when
END def false not super while
alias defined? for or then yield
and do if redo true __LINE__
begin else in rescue undef __FILE__
break elsif module retry unless __ENCODING__
case end next return until