On Tue, Jan 10, 2012 at 21:59, Nick Gunther <nlgunther / gmail.com> wrote:

> module Module1
>   class C
>      include Module2
>   end
> end
> c = Module1::C.new
> puts (c.class == C ? 'correct' : 'incorrect')
>
> produces 'incorrect'

c.class == Module1::C ? 'correct' : 'incorrect' # => "correct"