かずおの開発ブログ(主にRuby)

日々の開発のことを色々書きます。

Ternary Operator(3項演算子)

真偽判定を便利にできる3項演算子 gist.github.com

参考動画 unity3d.com