Is there a way to define a nested class in a Ruby C extension? The equivalent of

class Foo
   class Bar
   end
end