Class: Object
- Inherits:
- BasicObject
- Extended by:
- SproutCore::RakeConstants
- Defined in:
- lib/sproutcore/buildfile.rb
Overview
Add public method to kernel to remove defined constant using private method.
Class Method Summary collapse
Methods included from SproutCore::RakeConstants
Class Method Details
.const_reset(key, value) ⇒ Object
467 468 469 470 |
# File 'lib/sproutcore/buildfile.rb', line 467 def self.const_reset(key, value) remove_const(key) if const_defined?(key) const_set key, value end |