不要:类作用域之外的暴露状态。
没错—ruby中的类作用域界定不是关键词,它们仅仅是sticky属性。
That's right - class scoping designations in Ruby aren't keywords, they are merely sticky attributes.
一般,得到工作于名字空间、函数、类作用域的优秀的静态断言要比多使用一个难看的宏要值得。
The general conclusion was that the good of a static assert working at namespace, function, and class scope outweighed the ugliness of a macro.
应用推荐