From: Xavier Noria Date: 2012-03-22T00:34:38+09:00 Subject: Re: What’s the best way to check if a feature/class has been loaded? --047d7b33d70a6ed87904bbc2878e Content-Type: text/plain; charset=UTF-8 Active Support has recently added qualified_const_* methods to Module https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/module/qualified_const.rb Maybe that could help? If it does you can either copy the code or depend on Active Support (which nowadays allows client libraries to cherry-pick exactly what they need rather than loading everything). --047d7b33d70a6ed87904bbc2878e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Active Support has recently added qualified_const_* methods to Module
<= br>
=C2=A0 =C2=A0=C2=A0https://github.com/rails/rails/blob/master/activesupport/lib/active_s= upport/core_ext/module/qualified_const.rb

Maybe that could help? If it does you can either copy t= he code or depend on Active Support (which nowadays allows client libraries= to cherry-pick exactly what they need rather than loading everything).



--047d7b33d70a6ed87904bbc2878e--