From: Yusuke Endoh Date: 2012-05-03T13:53:02+09:00 Subject: [ruby-core:44839] Re: [ruby-trunk - Feature #6376][Feedback] Feature lookup and checking if feature is loaded 2012/5/3 Nikolai Weibull : > so if you have a file that provides A::B and B has already been > provided by another library, then defined? won�t work. Then, defined?(A::B.some_class_method) or else. Anyway, I don't think it is a good idea to depend whether a feature is "loaded" by require or not. What we really need to know is, whether a feature that you need is "defined", doesn't it? -- Yusuke Endoh