Method: Feature::Repository::RedisRepository#add_active_feature
- Defined in:
- lib/feature/repository/redis_repository.rb
#add_active_feature(feature) ⇒ Object
Add an active feature to repository
33 34 35 36 37 |
# File 'lib/feature/repository/redis_repository.rb', line 33 def add_active_feature(feature) check_feature_is_not_symbol(feature) check_feature_already_in_list(feature) Redis.current.hset(@redis_key, feature, true) end |