Method: Confstruct::Configuration#pop!
- Defined in:
- lib/confstruct/configuration.rb
#pop! ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/confstruct/configuration.rb', line 32 def pop! if _stash.empty? raise IndexError, "Stash is empty" else obj = _stash.pop self.clear self.merge! obj after_config! self end self end |