Ruby 2.1.0 リファレンスマニュアル > 関数一覧 > rb_is_const_id

function rb_is_const_id

int rb_is_const_id(ID id)

定数名として有効な ID ならば真。