Project

General

Profile

« Previous | Next » 

Revision ffb09d8e

Added by mame (Yusuke Endoh) over 7 years ago

eval.c: rename "rb_frozen_class_p" to "rb_class_modify_check"

Just refactoring. Despite its name, the function does NOT return a
boolean but raises an exception when the class given is frozen.
I don't think the new name "rb_class_modify_check" is the best, but
it follows the precedeint "rb_ary_modify_check", and is definitely
better than "*_p".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e