Method: Rollout#delete
- Defined in:
- lib/rollout.rb
permalink #delete(feature) ⇒ Object
[View source]
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/rollout.rb', line 40 def delete(feature) features = (@storage.get(features_key) || '').split(',') features.delete(feature.to_s) @storage.set(features_key, features.join(',')) @storage.del(key(feature)) if respond_to?(:logging) logging.delete(feature) end end |