For example:
class Animal def make_noise print NOISE end end class Dog < Animal NOISE = \"bark\" end d = Dog.new d.make_noise # I want this to p
one way to do it without class instance variables:
class Animal def make_noise print self.class::NOISE end end class Dog < Animal NOISE = "bark" end d = Dog.new d.make_noise # prints bark