Is this the intended behavior of const_defined?
It appears that const_defined? only returns true if the class is the
originator of the constant. If the constant was borrowed from
somewhere else (in this case, File::Constants), it returns false.
That’s on purpose, right? If that’s the case, I must resort to
IO.constants.member?(‘SYNC’) for my intended behavior, I suppose.
Seems a little strange.