Are class variables inherited? Technology Community › Category: Ruby › Are class variables inherited? 0 Vote Up Vote Down VietMX Staff asked 4 years ago No. The behavior is different than inheritance. Any alteration of a class variable by a subclass affects that class variable in the superclass and all other subclasses of the superclass.