mark sparshatt ha scritto:

>> So, is python more dynamic with objects? Isn't ruby good for this kind 
>> of meta programming?
>>
>>
> 
> Try this
> 
> class Test
> end
> 
> klass = Class.new(Test)
> p klass.ancestors #=> [#<Class:.....>, Test, Object, Kernel]
> 
> klass is a subclass of Test.
> 
> HTH

... and consider you can normally just use a mixin in ruby
 >> module Foo
 >>  def foo
 >>   'mixins rule!'
 >>  end
 >> end
=> nil
 >> a='hello'
=> "hello"
 >> a.extend Foo
=> "hello"
 >> a.foo
=> "mixins rule!"
 >> a.is_a? Foo
=> true