From: matz@... (Yukihiro Matsumoto) Date: 2000-12-08T12:43:10+09:00 Subject: [ruby-talk:6925] Re: Is there any way to undefine a variable? Hi, In message "[ruby-talk:6921] Is there any way to undefine a variable?" on 00/12/08, Steven Grady writes: |but I can't figure out how to undefine it: | undef Unify # -> NameError: undefined method 'Unify' for class | # 'Object' `undef' is for methods. Use Module#remove_const like: module Mod remove_const :Unify end Currently you have no mean to remove global variables, local variabls, and class variabls. matz.