Add extra example in #class_variables documentation.

We don't have any example documentation for using the inherit parameter.