Hi,

why do class definitions with the keyword "class" return nil and not the  
class itself?

   >> class Foo
   >>   def foo
   >>     puts "in Foo"
   >>   end
   >> end
   => nil

and what is the difference to:

   >> Bar = Class.new do
   >>   define_method(:bar) do
   >>     puts "in Bar"
   >>   end
   >> end
   => Bar

Thank you,
Levin