On Thu, Mar 17, 2011 at 11:49, Magnus Holm <judofyr / gmail.com> wrote:
> What about something like this?
> defined?(Gem) && Gem.const_defined?(:Specification)

Yes, that”Ēs how I did things before (Object.const_defined? :Gem and
Gem.const_defined? :Specification, even), but I was hoping that there
was something a bit more, well, simple.