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

function rb_define_global_const

void rb_define_global_const(const char *name, VALUE val)

トップレベル (現在は Object) の定数 name を初期値 val で 定義します。既に同名の定数が定義されていたら警告します。