*nocpp[18:03:15] --> carpet_the_walls has joined this channel (~Dave@78.156.71.46).
[18:03:23] <carpet_the_walls> if class B inherits off class A, and i have an object of type A, can i convert it to an object of type B?
[18:03:33] <chittoor> no
[18:03:47] <Phrogz_> Except perhaps via evil.rb
[18:04:03] <carpet_the_walls> ah poo
[18:04:04] <ddfreyne> carpet_the_walls: no, because not all Vehicles are Cars
[18:04:10] <chittoor> once an object is created, you can't change it's class without real dirty tricks
[18:04:20] <chittoor> or C code
[18:06:05] <carpet_the_walls> ok thanks, ruby inheritance is of limited use then, with no polymorphism