# instance_eval & class_eval

instance_eval Use ClassName.instance_eval to define a class method (one associated with the class object but not visible to instances).

class_eval Use ClassName.class_eval to define an instance method (one that applies to all of the instances of ClassName).