Module: Kernel
- Defined in:
- lib/sproutcore/buildfile.rb
Overview
Add public method to kernel to remove defined constant using private method.
Instance Method Summary collapse
Instance Method Details
#const_reset(key, value) ⇒ Object
477 478 479 480 |
# File 'lib/sproutcore/buildfile.rb', line 477 def const_reset(key, value) remove_const(key) if const_defined?(key) const_set key, value end |